PDA

View Full Version : What is a null value?


blackice912
09-15-2002, 12:33 PM
Help!

if ($dostyleid = NULL ) {

// my code if that matches up

}

Now, I don't know what a null value would be. I'm trying to tell it that if $dostyleid's value is empty, then do the code below...

This is the last little thing I must finish for some code of mine...help! :eek:

filburt1
09-15-2002, 02:54 PM
if (!isset($dostyleid))
...meaning it hasn't been defined yet. Otherwise since there are no real data types in PHP that you can define, do:
if ($dostyleid == false)