php3-list | 199908
Date: 08/31/99
- Next message: Kristian Köhntopp: "Re: [PHP3] Help with sessions"
- Previous message: se <email protected>: "Re: [PHP3] Uploaded files stored in Database or Filesystem?"
- In reply to: Vivek Awasthi: "Re: [PHP3] Something like "isNull" in PHP3???"
- Next in thread: schlicht <email protected>: "Re: Re: [PHP3] Something like "isNull" in PHP3???"
- Maybe reply: schlicht <email protected>: "Re: Re: [PHP3] Something like "isNull" in PHP3???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Vivek Awasthi wrote:
> can't you just check
> if ($variable == "")
> { }
kk <email protected>:~/Source/php3 > ./php -v
3.0.13-dev
kk <email protected>:~/Source/php3 > ./php
<?php
print isset($dummy)?"set":"not set";
Content-type: text/html
not set
if ($dummy == "") {
printf("empty\n");
empty
} else {
printf("nonempty\n");
}
print isset($dummy)?"set":"not set";
not set
-- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.shonline.de/ (GPL)-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Kristian Köhntopp: "Re: [PHP3] Help with sessions"
- Previous message: se <email protected>: "Re: [PHP3] Uploaded files stored in Database or Filesystem?"
- In reply to: Vivek Awasthi: "Re: [PHP3] Something like "isNull" in PHP3???"
- Next in thread: schlicht <email protected>: "Re: Re: [PHP3] Something like "isNull" in PHP3???"
- Maybe reply: schlicht <email protected>: "Re: Re: [PHP3] Something like "isNull" in PHP3???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

