use if($var="") or if(trim($var)="") dengach a écrit :
> I am using a <form> to enter data into a mySQL database all is fine but, I > need to check for blank entries in rows. I was trying to use isset($var) > but it appears to return a TRUE whether or not I insert data on the form. > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Marius Ursache (3563 || 3494) \|/ ____ \|/ "@'/ ,. \`@" /_| \__/ |_\ \__U_/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php