Posted by samudasu on 02/24/06 04:32
Like i said in my earlier post, quote the variables in the query. $query = "UPDATE calendar_events SET event_title = '$title', event_start = '$date', event_shortdesc = '$desc' WHERE id = '$event'"; This part, "or die(mysql_error())" is NOT part of the query. It should be used like this: mysql_query($query) or die(mysql_error());
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming