Guest_imported
New member
- Jan 1, 1970
- 0
It doesn't update the row at all. Also, script.php?file=EntryEdit&id=$id doesn't call $id in the URL.
What's wrong? :-(
Code:
function do_edit_entry($id, $entry_name, $entry_email, $entry_url, $entry_msn, $entry_aim, $entry_icq, $entry_yahoo, $entry_message) {
global $admin, $prefix, $dbi;
$result = sql_query("update ".$prefix."_guestbook set name='$entry_name', email='$entry_email', url='$entry_url', msn='$entry_msn', aim=$entry_aim', icq='$entry_icq', yahoo='$entry_yahoo', message='$entry_message', date='$entry_date', time='$entry_time', ip='$entry_ip' where id='$id'", $dbi);
Header("Location: script.php?file=EntryEdit&id=$id");
}
What's wrong? :-(