I am trying to learn mysql and having some problem with updating/adding data to the table
this is my code and after running this page when I go to phpmyadmin to see if the new data showed up, i dont see it there.
<?php
$conn = mysql_connect($dbhost, $dbuser, $dbpass);
if(!$conn) { die("Could not connect"); }
$dbname = "test";
mysql_select_db($dbname, $conn);
mysql_query("INSERT INTO 'test'.'table1'
('A1', 'A2', 'A3', 'A4', 'A5', 'A6', 'A7', 'A8')
VALUES
('test1', 'test2', 'test3', 'test4', 'test5', 'test6', 'test7', 'test8')");
mysql_close($conn);
?>
Can anyone tell me whats wrong with this ?