What's wrong with this? I'm not getting any php errors, I'm just getting my failed statement returned. Can't figure it out.
<?
$mlsNumber = $_GET["mlsNumber"];
$host = "localhost";
$user = "evt";
$password = "password";
$DBName = "executivevirtualtours";
$tableName = "houses";
$link = mysql_connect($host, $user, $password);
$query = "INSERT INTO '$tableName' ('0') VALUES ('$mlsNumber')";
if (mysql_db_query ($DBName, $query, $link)) {
print ("it worked");
} else {
print ("it don't work");
}
mysql_close ($link);
?>