PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$settings = mysql_query("SELECT * FROM settings WHERE id=1") or die(mysql_error());
$setting = mysql_fetch_array($result);
That line of code I think is wrong. I'm not sure if it's retrieving anything from the database at all as when I use the data retrieved, it doesnt show.