Search found 2 matches
- Wed Jun 20, 2012 7:04 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog(Including commenting)
- Replies: 3
- Views: 942
Re: PHP Tutorial: Blog(Including commenting)
Thanks for your quick respnonse! If you add a die(mysql_error()); after the mysql_query() line just above the loop it should tell you why. it does: No database selected But i selected it in the init.inc.php, doesen´t i? <?php mysql_connect('127.0.0.1', 'blogger', 'blog'); mysql_select_db('blog'); in...
- Wed Jun 20, 2012 4:35 pm
- Forum: Tutorials
- Topic: PHP Tutorial: Blog(Including commenting)
- Replies: 3
- Views: 942
PHP Tutorial: Blog(Including commenting)
Hey guys, I have a problem concerning this tutorial,too, so is it okay to use this thread? My problem is that blog_list.php says: Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\blog\core\inc\posts.inc.php on line 38 literally a thousand times before...