PHP & Mysql help!! No Errors?

Joe Burnett

New member
I'm trying to create an extremely basic chat room yet I can't seem to get this data inserted into the mysql database in the first place. No errors...

$Post_ = $_POST['post'];
$Post_Chat = mysql_query("INSERT INTO Chat (Name, Text) VALUES ($Name, $Post_)");
$View_Chat = mysql_query("SELECT Name, Post FROM Chat");

if($Post_Chat != "")
{
echo $View_Chat;
}

?>
 
Back
Top