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

2002-06-01 Thread John Holmes
mes... > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL 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 writ

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 (databas

[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 i