Computing.Net > Forums > Web Development > php forms help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

php forms help

Reply to Message Icon

Name: deity_me
Date: October 17, 2005 at 16:06:28 Pacific
OS: Slack 10
CPU/Ram: P4
Comment:

Hi
I have a PHP form that inputs things into a database and then later display the stuff in a webpage

My main concern is validation of the user's input. I just need a validator or some sort so that their input wont crash the page thats inserting it into the database or crash the page that's later displaying it - Also I'd like the display page to be xhtml compliant afterwards.
Trying to brainstorm but its a sun shining day in my head
Thanks


Money not an issue?
Where do you live and when are you not home?
I'm not gonna rob you, I'm just gonna steal some stuff



Sponsored Link
Ads by Google

Response Number 1
Name: Michael J (by mjdamato)
Date: October 17, 2005 at 21:48:51 Pacific
Reply:

You're not giving enough specifics! What do you need to validate to? Is the data being input a number? Is it supposed to be a directory path? What???


0

Response Number 2
Name: deity_me
Date: October 19, 2005 at 06:25:14 Pacific
Reply:

They can put in anything
the MySQL field that i'm inserting into is of type TEXT
i just dont want them inserting things that'll break the SQL insert or the redering when i try to put it up from the DB

Money not an issue?
Where do you live and when are you not home?
I'm not gonna rob you, I'm just gonna steal some stuff


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: php forms help

PHP Form www.computing.net/answers/webdevel/php-form/2146.html

Front page Form Help www.computing.net/answers/webdevel/front-page-form-help/1467.html

php form www.computing.net/answers/webdevel/php-form/2824.html