How do I hide a resultset column from being displayed?
Posted: Sun Aug 23, 2009 9:30 am
Hello,
I am running a query like SELECT a, b,c FROM table from my php page. a is a status column in the database with values 'Y' or 'N'. I don't want this column to be displayed to the user but I need this column to pass a visual message to the user depending on the value of row 'a'. Please how do I go about doing this considering the fact that if I don't select 'a' as part of my query then I won't be a able to do what I intend doing?
Cheers.
I am running a query like SELECT a, b,c FROM table from my php page. a is a status column in the database with values 'Y' or 'N'. I don't want this column to be displayed to the user but I need this column to pass a visual message to the user depending on the value of row 'a'. Please how do I go about doing this considering the fact that if I don't select 'a' as part of my query then I won't be a able to do what I intend doing?
Cheers.