I have several tables containing content submitted/updated by various members. What i am wondering is, if i want to keep a record of who is changing what persay would I simply do it like this
if(isset($_POST['submit'])){// handle the form
// Connect to the database.
require_once('../include/connect.php');
// Query the database.
// The insert condition.
$row['ID']= $_POST['ID'];
$query = "UPDATE table SET field1='$field1' WHERE ID = '$ID' ";
$result = @mysql_query ($query); // Run the query.
if ($result) { // If it ran OK.
$query2 = "INSERT INTO UpdateList (ID, User) values('$ID', '$User') ";
$result2 = @mysql_query ($query2); // Run the query.
if ($result2) { // If it ran OK.
so on and so forth?