Posted by Lag on 02/24/06 04:46
I tried and it still passes the variables but does not update.....I
even tried using the root user and password, thinking I didn't update
the user privileges in MySQL server. But that didn't work either.
Thanks for the help, any other ideas?
$event = $_GET["id"];
$title=$_POST['title'];
$date=$_POST['datetime'];
$desc=$_POST['desc'];
//---DELETE ENTRY FROM DATABASE---
$query = "UPDATE calendar_events SET event_title = '$title',
event_start = '$date', event_shortdesc = '$desc' WHERE id = '$event'";
//LIST ITEMS
echo "$event $title $date $desc";
@mysql_query($query) or die(mysql_error());
echo "Record Updated";
mysql_close();
[Back to original message]
|