Code: Select all
$value = mysql_query("INSERT INTO Accounts (AccountName, FirstName, LastName, Age, City, State, Country)
VALUES ('Ckeane17', 'Cory', 'Keane', '18', 'Chicago', 'IL', 'United States')");
if ($value)
{
echo('information inserted')
}
else
{
echo(mysql_error())
}Oh and how can I check my MySQL database to see what databases and tables are in my local host server?
Thanks a lot guys