If I type in a search string of "test", how do I count the number of characters to be 4. I am looking for a way to eliminate short strings so it does not search for every single record that contains the letter r or s. Any help would be much appreciated.
http://ca.php.net/manual/en/function.strlen.php
reg kevin
ok i assume you know how to read form data...
if you have the data in variable data, you can read it using strlen()
$data = "test"; echo strlen($data); //will output 4