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. Quote 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. Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/135425-solved-force-row-return/#findComment-706178 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.