I was wondering how can I turn the echo part into a varialble (I think thats whats you call it) because I can post the "Please enter your last name!" any where on the web page.
// Check for a last name. if (eregi ('^[[:alpha:]\.\' \-]{2,30}$', stripslashes(trim($_POST['last_name'])))) { $ln = escape_data($_POST['last_name']); } else { $ln = FALSE; echo 'Please enter your last name!
'; }