The Little Guy Posted December 3, 2008 Share Posted December 3, 2008 I have this query at the moment: SELECT * FROM pref WHERE id = '1' How can I get it so that I FORCE it to return a row? If it does't find an id, it sets all columns to NULL, otherwise it should return the values. Link to comment https://forums.phpfreaks.com/topic/135425-solved-force-row-return/ Share on other sites More sharing options...
The Little Guy Posted December 3, 2008 Author Share Posted December 3, 2008 nvm I decided to do it a different way. Link to comment https://forums.phpfreaks.com/topic/135425-solved-force-row-return/#findComment-705442 Share on other sites More sharing options...
fenway Posted December 4, 2008 Share Posted December 4, 2008 nevermind I decided to do it a different way. Such as? Link to comment https://forums.phpfreaks.com/topic/135425-solved-force-row-return/#findComment-706178 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.