Update Query Question
Posted: Mon Sep 27, 2004 7:58 am
Morning all.
I have a fairly simple form that presents results from a table in text fields.
A user can insert new values and click a submit button. But for some reason the submission isn't working.
Here's what I have:
I won't bore you with the rest but on the submission page I have this:
What am I missing...?
I have a fairly simple form that presents results from a table in text fields.
A user can insert new values and click a submit button. But for some reason the submission isn't working.
Here's what I have:
Code: Select all
echo "<form method='POST' action='Events_Updated.php?EventID=$resultїEventID]'>";
echo "<input type='hidden' name='EventID value='$resultїEventID]'>";Code: Select all
// Update Database:
$UpdateDatabase = "UPDATE events SET
EventTime = '" . $_POSTї"EventTime"] . "',
EventDate = '" . $_POSTї"EventDate"] . "',
EventBooked = '" . $_POSTї"EventBooked"] . "',
EventSpeaker = '" . $_POSTї"EventSpeaker"] . "'
WHERE EventID = '" . $_POSTї"EventID"] . "'";
$Updated = mysql_query($UpdateDatabase) or die ("Error: " . mysql_error());