Sorry. This syntax works. I had used the wrong variable within my IF command that caused this not to work :) ----- Original Message ----- From: Ron Piggott <ron.php@xxxxxxxxxxxxxxxxxx> To: PHP DB <php-db@xxxxxxxxxxxxx> Sent: Saturday, July 02, 2005 11:05 AM Subject: IF command > 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