|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (5 bit)
Join Date: Aug 2007
Posts: 23
|
empty sql query php 6
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... |
|
|
|
|
|
#2 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
What's the rest of it? You can't tell much from an incomplete splice of code.
What's $id? How's it initialized? What sets it?
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|