RE: [PHP-DB] Passing key field, id, from form to procedure

2003-07-18 Thread Hutchins, Richard
Doug, One way to handle this is the following: On the page that lists the people, under the edit link, you put something like a href=editscript.php?id=$idEdit/a. When the user clicks that link, the $id will be passed in the URL. In your editscript.php page, inside the form where you're editing

RE: [PHP-DB] Passing key field, id, from form to procedure

2003-07-18 Thread Ryan Marks
Douglas, The form that shows the editable fields has a hidden field named 'DID' having the value of $zid. In your updaterecord procedure, you will have to use the variable $_GET[DID] instead of $zid. You can of course just add one line of code: $zid = $_GET[DID]; to help you out. One other