[PHP] New to PHP- Form Validation Logic/Design Question

2002-06-01 Thread lfindle
I am *very* new to PHP am trying to write a tool where a user can add books to a library MySQL database. The user fills out an HTML form. I do some form validation if the form entries are ok, I need to run some SQL queries using the form variables. I have the HTML form posting back to

RE: [PHP] New to PHP- Form Validation Logic/Design Question

2002-06-01 Thread David Freeman
I included a pseudocode form of my logic here my actual code below. A suggestion in similar pseudo code. top of page set a flag to display form If (form submitted) { validate entered data if (data is correctly validated) { enter data into database if (database

RE: [PHP] New to PHP- Form Validation Logic/Design Question

2002-06-01 Thread John Holmes
PROTECTED]] Sent: Saturday, June 01, 2002 5:11 PM To: [EMAIL PROTECTED] Subject: [PHP] New to PHP- Form Validation Logic/Design Question I am *very* new to PHP am trying to write a tool where a user can add books to a library MySQL database. The user fills out an HTML form. I do some form