onedumbcoder Posted August 10, 2009 Share Posted August 10, 2009 lets say we have a table called foodstore, and it has 400 fields, each field can have one of two values, 0 or 1. is there a away I can make the query return "Yes" instead of 1s? Link to comment https://forums.phpfreaks.com/topic/169543-change-query-return-value-in-the-entire-query/ Share on other sites More sharing options...
BLaZuRE Posted August 10, 2009 Share Posted August 10, 2009 A MySQL database is really just that, a database. It stores data you want to use, it doesn't manipulate it (PHP generally does all of that). Just add something to your php so that if you're returned a one, it displays a text to screen or you set that variable to "yes" if the variable is 1. Link to comment https://forums.phpfreaks.com/topic/169543-change-query-return-value-in-the-entire-query/#findComment-894541 Share on other sites More sharing options...
onedumbcoder Posted August 10, 2009 Author Share Posted August 10, 2009 do u even have a clue wtf ur talking about Link to comment https://forums.phpfreaks.com/topic/169543-change-query-return-value-in-the-entire-query/#findComment-895083 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.