Form validation

From: Date: Wed, 01 Nov 2000 14:02:54 +0000
Subject: Form validation
Groups: php.general 
Request: Send a blank email to php-general+get-23152@lists.php.net to get a copy of this message
I think I saw this answered before, or maybe in an archive somewhere, but I can not find it. I aplogize for repetition. How can I take the value of a text input field on a form and make sure it only contains...say numbers, parenthesis, and hyphens if the field was for a phone number? I think it used eregi... Sorry for my ignorance here. :) Shane

« previous php.general (#23152) next »