I have a form I'm using and I'd like part of the form to be entered into one row of the table and the other part of the form entered into another row. I'll run PHP to display all rows from the table.
Simple example:
Row 1 ->
<input type="hidden" name="standing_id">
<input type="text" name="client_name">
<input type="text" name="client_job_title">
Row 2 ->
<input type="hidden" name="standing_id">
<input type="text" name="client_name">
<input type="text" name="client_job_title">
standing_id is a UNIQUE, primary key.
Can I just:
$query = "UPDATE standings SET client_name = '$client_name', client_job_title = '$client_job_title' WHERE standing_id = '$standing_id'";