Re: if ($xxxxx) { function not working?
| From: | Cristian MARIN | Date: | Tue, 10 Jun 2003 09:33:35 +0000 |
| Subject: | Re: if ($xxxxx) { function not working? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150874@lists.php.net to get a copy of this message | ||
Why don't you use the traditional way ?
if ( id<0 && !edit){
echo "aa";
}
It always work.
--
-------------------------------------------------
Cristian MARIN
InterAKT Online (www.interakt.ro)
+4021 411 2610
cristic@interakt.ro
"Larry Li" <Larry_Li@amat.com> wrote in message news:OFCBDF22EB.102C7976-ON48256D41.0026EF12@LocalDomain...
if (!id && !edit) - something wrong here.
Normally id>0. if so, id=true. !id=false.
(false && anything) is false.
echo "blah blah blah" will never be executed.
-----------------------------------------------------------------------------------------------------------------------
To: php-general@lists.php.net
cc:
"Ben Houlton" Subject: [PHP] if ($xxxxx) { function
not working?
<kaoru_cut@hotmail.com>
06/10/03 02:12 PM
When I use the if ($xxx) fuction to use the web addresses function to call
up a command it desnt work! All it does is come up with the command line
with:
}else {
if (!id && !edit) {
echo "blah blah blah";
}
}
I'm using PWS and localhost//HPPAV server.
Please help!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php