Determine an value present in database sql php

amberlobster

New Member
I've created a dynamic table that will pull information from a database. However, there is 1 field that may have NOTHING in it, or it may have a bunch of information (from multiple check boxes) in it. I am trying to condense the initial table view (the details will show full db field information). What I have right now is this:\[quote\] \[code\]if $row['extras'] = ''{\[/code\]
\[code\]print '';\[/code\]
\[code\]} else {\[/code\]
\[code\]print 'Y';\[/code\]
\[/quote\]By this code, it displays "Y" in ALL fields, rather than what is needs to. Am I on the right track or completely off base?
 
Back
Top