Re: [PHP] numeric characters

2004-03-03 Thread Dominique ANOKRE
ok thanks, i have written a script with javascript and i think it's running good ! Thanks - Original Message - From: "Daniel Clark" <[EMAIL PROTECTED]> To: "Php List" <[EMAIL PROTECTED]> Sent: Tuesday, March 02, 2004 7:15 PM Subject: Re: [PHP] numeri

Re: [PHP] numeric characters

2004-03-02 Thread Daniel Clark
Or you can us client side JavaScripting. > Hello Dominique, > > Tuesday, March 2, 2004, 6:31:00 PM, you wrote: > > DA> Is there a way with php to force the user to put only numeric > character in a text field ? > > No, because that's a client-side thing. You can however use the PHP > function is_n

Re: [PHP] numeric characters

2004-03-02 Thread Richard Davey
Hello Dominique, Tuesday, March 2, 2004, 6:31:00 PM, you wrote: DA> Is there a way with php to force the user to put only numeric character in a text field ? No, because that's a client-side thing. You can however use the PHP function is_numeric() to check the data once it has been entered to e