|
-
May 23rd, 2006, 05:50 PM
#8
Thread Starter
Frenzied Member
Re: How to check for empty string and empty search type?
visual ad how to check for m value which is search type ? how to use mysql_escape_string?
It keeps giving me error:
Parse error: syntax error, unexpected in bold parts!
if ( isset($_GET['s']) )
{
$s = $_GET['s'];
if(strlen($s) < 3) )
{
$error = " You can not search for empty string, your search word must be at least 3 character long. Try again please "
}
}
Last edited by tony007; May 23rd, 2006 at 06:20 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|