You are here: preg_match help « PHP Programming Language « IT news, forums, messages
preg_match help

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация