Here is my Insert Command:
$sql = "INSERT INTO $datatable ( dt_id, dt_date, dt_what, dt_testimony, dt_source, dt_pic ) VALUES ( NULL, '$entry_date', '$what', '$testimony', '$source', '$real_name' )";
mysql_query( $sql, $myLinkID ) or mySQL_die( $prog_name, "1-sql insert" );
Here is my Update Command:
$valuelist="dt_date='$entry_date', dt_what='$what', dt_testimony='$testimony', dt_source='$source', dt_pic='$real_name'";
$sql = "UPDATE $datatable SET $valuelist WHERE dt_id='$key'";
mysql_query( $sql, $myLinkID ) or mySQL_die( $prog_name, "1-sql update - data" );
Hope this is what you were looking for. And thanks much for your help.
Roger