Search found 3 matches
- Sun Jan 13, 2013 6:12 pm
- Forum: Tutorials
- Topic: Blog (including commenting) part 04
- Replies: 5
- Views: 2418
Re: Blog (including commenting) part 04
man i have same problem mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\wamp\www\news\core\inc\comments.inc.php on line 33 'ExtremeGaming' tells me to 'Your second undefined variable error is because you have:' $comments = mysql_query($pid); 'In your while loop you are us...
- Sun Jan 13, 2013 5:32 pm
- Forum: Tutorials
- Topic: Blog(including commenting)
- Replies: 3
- Views: 1065
Re: Blog(including commenting)
what im a newbie ;d thx man but i cant understand second answer its must look like this ?
$row = mysql_fetch_assoc($comment); $return = array(); While (($comments = mysql_query($pid)) !== false){ $return[] = $row; }
- Sun Jan 13, 2013 1:00 pm
- Forum: Tutorials
- Topic: Blog(including commenting)
- Replies: 3
- Views: 1065
Blog(including commenting)
Hi i have problem in Blog(including commenting) in part 05 i think. Errors: 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 'FROM `posts` WHERE `post_id` = 1' at line 1 file posts.inc.php Error: Warning: mysql_fetc...