Skip to main content
Participant
May 20, 2008
Question

HELP Please

  • May 20, 2008
  • 1 reply
  • 265 views
I have searched hgh and low for the answer to my problem. I know that there have been several similar posts but, I am having a hard time understanding because most posts are specific to each persons problem. So, here is my first problem:

I am creating a project management website for a friend which consists of four tables: one for customer info, one for project info, one for contractor info, and one for survey info (survey form is completed once project is done).

What I want to do is this: when the survey form is filled out, I want the field "survey complete" (in projects table) to input the value "Y" (for yes). This is the catch: I want this to happen when the submit button is clicked on survey form.

I am new to php and I am using dw cs3.
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
May 21, 2008
Personally, I would include a hidden field at the bottom of the form that had a value of 'Y'. You would also require a line of code at the top of the page where the rest of the insert statement is so you can insert that value into your db.

I assume that's how it works with PHP - I'm more ASP.

HTH

Mat