Hi,
In an edit_page, I want to add an event to update an other table.
1 - find the value of one field in the form named : value_userID
2 - find the value of editid1 field
3 - Build the query
4 - send the query
//********** Insert a record into another table ************
global $conn;
$user=$values['value_userID'];
$contactID=$values['editid1'];
$req = "update echange set userID='$user' where contactID='$contactID'";
$res=mysql_query($req);
Well, no error produced, but no update ! I think I've not the good method to get the values of the fields in the form.
Wasn't it an array $value() wich contain the values ?