the empty() function checks to see if a given variable has a value other than 0 or an empty string.
that was from the book i am using
EDIT: i could also apply the trim() function to the username and passwords, that would get rid of any blank spaces, but ive gone off topic here 
Last edited by HitRaj47; 04-24-2005 at 10:05 AM..
|