Przy wykonywaniu takiego kodu:
<?php $dbhost = "localhost"; $dbuser = "***"; $dbpassword = "***"; $dbdatabase = "phpbb_topics"; $sql = "select * from 'phpbb_topics' order by topic_id desc limit 1"; ?>
Dostaje taki błąd:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Co robie źle ?