Re: [PHP-DB] IF command

2005-08-02 Thread hope

1st  of all b sure tht wt i the type of $delete

n wt value r u geting in it now
if u echo or print it.

then u can get a bettr idea 
as wt change mite b needd in ur if condition


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP-DB] IF command

2005-07-03 Thread Bastien Koert
What is $delete? Are you sure its numeric? if you echo it out what is the 
value?


Bastien


From: "Ron Piggott" <[EMAIL PROTECTED]>
Reply-To: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB" 
Subject: [PHP-DB] IF command
Date: Sat, 2 Jul 2005 11:05:48 -0400

I am trying to run the following if statement --- I need the integer value
of $delete to be read by PHP --- what did I do wrong?  I only want the
commands that follow to be used if delete is more than 0  Ron

if ( $delete > 0 ) {

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] IF command

2005-07-02 Thread Ron Piggott
I am trying to run the following if statement --- I need the integer value
of $delete to be read by PHP --- what did I do wrong?  I only want the
commands that follow to be used if delete is more than 0  Ron

if ( $delete > 0 ) {

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php