Menu
Why do I keep getting “No Success”? The database isn’t being updated… I’ve gotten this to work before…
[code=php]<?php
include_once(“components/scripts.php”);
dbconnect();
$query = “UPDATE shows18 SET date=’2007-05-22′, name=’Test’, venue=’Test’, address=”, city=”, state=”, country=”, info=” WHERE showid=’6′”;
$result = mysql_query($query);
if ($result) {
echo “Success”;
} else {
echo “No success”;
}
?>
Any ideas?