Forum Moderators: coopster

Message Too Old, No Replies

Form validation

         

outtahere

7:35 am on Jun 18, 2004 (gmt 0)

10+ Year Member



Hi everyone

I'm looking to get a fairly simple form validated using php, but I dont know where I should start as I'm new to it. Dont really want to do this client side, hence posting here.

I have a few text fields and one checkbox on my yourinfo.php page, which I send to a SQL db upon submission of the form, and then autoforward into the next page. I would like to be able to validate the content of these fields (ie email address is checked for validity) before going into the db.

Any suggestions as to where I might look / books to buy etc?

Thanks!

timster

1:00 pm on Jun 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Any suggestions as to where I might look / books to buy etc?

Validating form input:
[thesitewizard.com...]

O'Reilly's "Web Database Applicatins with PHP & MySQL" will probably be a good book for you (if you use MySQL, tht is). It does a good job covering all the basics you'll need to create database driven websites.