Please help, in my database, I have 3 data fields in a table called 'sitesettings'
SettingsID, SiteName, SiteTel
I am trying to echo out SiteName, I have added a test value but it's not spurting it out, please help?!
mysql_connect("localhost", "root", "root");
$settingsquery = "SELECT * FROM sitesettings";
$settingsresult = mysql_query($settingsquery);
<?php echo $settingsresult['SiteName']; ?>