Re: Checking for data on a form
| From: | Marius Ursache | Date: | Tue, 23 Apr 2002 06:01:14 +0000 |
| Subject: | Re: Checking for data on a form | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18749@lists.php.net to get a copy of this message | ||
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_/