if (empty($id)) {echo "No result"
used to work fine. But no longer with php6 as "results with no value are not empty"
What alternative could I use?
Thanks...
empty sql query php 6
Moderator: General Moderators
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: empty sql query php 6
check the num_rows of the result set?