Re: [PHP-DB] Validate value

2004-07-13 Thread Rinku
Thank you, Very much !!! It worked fine. Regards, Rinku "Jensen, Kimberlee" <[EMAIL PROTECTED]> wrote: 1. You have to allow for a space in your pattern - you can do so by hitting the space bar or using \s. Here are some options $pattern="/^[a-zA-Z ]+$/"; if(preg_match($pattern,$_POST['

[PHP-DB] Validate value

2004-07-11 Thread Jensen, Kimberlee
1. You have to allow for a space in your pattern - you can do so by hitting the space bar or using \s. Here are some options $pattern="/^[a-zA-Z ]+$/"; if(preg_match($pattern,$_POST['name'])) { $pattern="/^[a-zA-Z\s]+$/"; if(preg_match($pattern,$_POST['name']))

[PHP-DB] Validate Value

2004-07-10 Thread Rinku
Pls guide on following. 1) I want to validate name for a alphabetic value, But if I give space between 2 words then its not supporting.. As example: Name = "PHP Guide" Then the system says name must be in alphabetic value. Pls find the codd No 1 for more Details : 2)I want to validate a phone n

[PHP-DB] Validate Value

2004-06-26 Thread Rinku
I am trying to check the variable for validation. I have written this code, but still I am not getting expected output. Can any of you suggest me what is missing in this ? Expected Output 1)If the variable is set and value is not alphabatic then system should say "Alphabatic value require"