simple question

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

simple question

Post by Coco »

not so sure how safe it is to test this on a live server (i dont have a local one :() so im gonna ask first...
if i have a query with something like:
SELECT blah FROM monkey WHERE $thing;

would anything nasty happen if $thing was null?
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

No. :)
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

Post by Coco »

ta :)

Thread can be deleted... thanks
Post Reply