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 [EMAIL PROTECTED] "Larry Li" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] cc: "Ben Houlton" Subject: [PHP] if ($xxxxx) { function not working? <[EMAIL PROTECTED]> 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