is_null

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Post by Joan Garnet » Fri Dec 27, 2002 9:21 pm

It appears to be a normal function...
http://www.php.net/manual/en/function.is-null.php
Why don't you post a little piece of code just in case...
bye!

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Post by Joan Garnet » Tue Dec 31, 2002 7:29 am

Well, the variable is empyt, but it actually exists as soon as the column was created.
Better use this:

Code: Select all

if ($row_listContract['address_line_1'] = "") { 
  echo "It is null.";
} else {
  echo "It is not null."
}


bye!
;)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests