In article <[EMAIL PROTECTED]>, Rinku wrote:
> --0-1101702729-1089550436=:23431
> Content-Type: text/plain; charset=us-ascii
>
> I have used this code.
>
> $pattern="/^\s+[a-zA-Z]+$/";
> if(preg_match($pattern,$_POST['name']))
> {
>
> Statements;
> }
>
I have used this code.
$pattern="/^\s+[a-zA-Z]+$/";
if(preg_match($pattern,$_POST['name']))
{
Statements;
}
But here still system not supporting for space.
Rinku
Tim Van Wassenhove <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>, Rinku wro
In article <[EMAIL PROTECTED]>, Rinku wrote:
>> That's correct behaviour. The alphabet doesn't know what a space is ;)
>> Thus append the other allowed characters to your a-zA-Z interval.
> Can you pls tell me how to add space in name ?
If you reply under what is already written (and cut the irr
Rinku wrote:
Can you pls tell me how to add space in name ?
by using or by using the using the ascii-code of that
combined with the
char-command.
Regards,
Ruprecht
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can you pls tell me how to add space in name ?
Regards,
Rinku
Tim Van Wassenhove <[EMAIL PROTECTED]> wrote:
In article <[EMAIL PROTECTED]>, Rinku wrote:
> --0-775821546-1089528419=:27331
> Content-Type: text/plain; charset=us-ascii
>
> Pls guide on following.
> 1) I want to validate name for a
In article <[EMAIL PROTECTED]>, Rinku wrote:
> --0-775821546-1089528419=:27331
> Content-Type: text/plain; charset=us-ascii
>
> 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..
That's correct behaviour. T