Lodius2000 Posted April 28, 2009 Share Posted April 28, 2009 if I use a mysql query like 'SELECT title, post FROM table WHERE id = 23' but there is no id = 23 what is the php value of a variable made out of title or post? NULL, 2 single quotes ( '' ), something else? thanks Link to comment https://forums.phpfreaks.com/topic/155929-solved-php-mysql-theory-question-easy-one/ Share on other sites More sharing options...
premiso Posted April 28, 2009 Share Posted April 28, 2009 Try it out and see. You can use var_dump on the value you are assigning the return set to to see what it is that was returned. Link to comment https://forums.phpfreaks.com/topic/155929-solved-php-mysql-theory-question-easy-one/#findComment-820802 Share on other sites More sharing options...
Lodius2000 Posted April 28, 2009 Author Share Posted April 28, 2009 duh, Im such a fool. I always forget about the 'troubleshooting' functions and jump straight to asking a total noob question Solved Link to comment https://forums.phpfreaks.com/topic/155929-solved-php-mysql-theory-question-easy-one/#findComment-820803 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.