View Single Post
Old 12-21-2007, 10:11 PM   #22 (permalink)
gilzow
The Wanderer
 
Join Date: Dec 2007
Posts: 14
Thanks: 0
gilzow is on a distinguished road
Default

Quote:
Originally Posted by Aaron View Post
so how would I do that? Use

if preg_match() and somethingorothertellingmethatitisn'tblank

?
PHP Code:
if (!preg_match('/^[A-Za-z ]+$/'$name) || trim($name)=='') {
     
$error.="Please, go back and fill out your name. This is your actual name that we will need, not your username.<br>\n";    

gilzow is offline  
Reply With Quote
The Following User Says Thank You to gilzow For This Useful Post:
Aaron (12-21-2007)