Help how can I force the variable to start with a character.
I dont want it to start with a number????
function alphanumeric($a lphanumeric_fie ld)
{
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!!
I dont want it to start with a number????
function alphanumeric($a lphanumeric_fie ld)
{
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!!
Comment