Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

php question for the geniuses of the net

Name: Anonymous 2007-09-01 16:14 ID:bekbATGd

how can  i validate an input box so that it displays an error if any non-numeric charecters are input using php

Name: Anonymous 2007-09-01 16:19 ID:Heaven

This is still an open research topic.

Name: Anonymous 2007-09-01 17:58 ID:lhfXkVIW

Read SICP.

Name: Anonymous 2007-09-01 18:05 ID:5QaGOGfX

Not possible with the meager standard library for PHP. You need to grab a BBCode module and use tags to interact with the web sight.

Name: Anonymous 2007-09-01 18:06 ID:Huvpow59

>>1
Forget it; it's NP-Complete.

Name: Anonymous 2007-09-01 18:36 ID:Heaven

implementation details

Name: Anonymous 2007-09-01 19:06 ID:uf5+teA+

Use Javascript.

Name: Anonymous 2007-09-01 19:59 ID:pA8BUY+r

>>1
is_numeric($x), or preg_match('/^\d*$/', $x).

>>7
Can't be trusted. You can use Javascript beside server validation.

Name: Anonymous 2007-09-01 21:03 ID:Heaven

>>8
Fink

Name: Anonymous 2011-02-03 0:02

Name: Anonymous 2011-02-18 13:28

check 'emNewer Posts
Don't change these.
Name: Email:
Entire Thread Thread List