Posted by David on 12/01/06 06:42
Help how can I force the variable to start with a character.
I dont want it to start with a number????
function alphanumeric($alphanumeric_field)
{
if(!preg_match("/[^a-zA-Z0-9]+$/",$alphanumeric_field))
return TRUE;
else
return FALSE;
}
any ideas much appreciated. As i am so frustrated with the preg_match
function!!
Navigation:
[Reply to this message]
|