Hello,
         You can use javascript and Ajax together. If you use the ajax, you 
can validate your data with PHP code. Please visit the web site below. You 
will find information about PHP and Ajax::)

http://www.w3schools.com/php/default.asp




-- 
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net

"al phillips" <[EMAIL PROTECTED]>, haber iletisinde sunlari 
yazdi:[EMAIL PROTECTED]
> I''ve tried !preg_match and !eregi to validate my form. I get back 
> whatever the user inputs into the textboxes. I would like to validate each 
> textbox before submitting and redirect the user after submission?  Here's 
> part of the code
>
>  <?php // Script 1 handle .html
> // Should accept First & Last Name email address phone city state
> // Validate input from textfields
>
> if (!preg_match("/[^a-zA-Z\.\-\Ä\ä\Ö\ö\Ü\ü\
>   ]+$/s",$firstname)); {
> print '<p>Please enter Letters from A to Z</p>';
> }
>
>
> ---------------------------------
> 8:00? 8:25? 8:40?  Find a flick in no time
> with theYahoo! Search movie showtime shortcut. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to