so I was trying to script in the Phone Number and Email of my client through the database. But every time I do a query I get this error message.
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Default' at line 1"
now line one is just the <?php line so this is my query and I hope you guys can help. Thanks.
<?php
include("connect.php");
$query="SELECT Email FROM Default";
$Email=mysql_query($query) or die(mysql_error());
$querty="SELECT PhoneNumber FROM Default";
$PhoneNumber=mysql_query($querty) or die(mysql_error());
?>