Search found 2 matches
- Sat Jul 20, 2013 10:54 am
- Forum: Tutorials
- Topic: Blog script problem(2)
- Replies: 1
- Views: 2673
Blog script problem(2)
Hi guys! I have an other problem in posts.inc.php.Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /core/inc/posts.inc.php on line 42 There is the code: <?php // checks if the given post id is in the table. function valid_pid($pid){ $pid = (int)$pid; $total = m...
- Mon Jul 15, 2013 12:19 pm
- Forum: Tutorials
- Topic: Blog php script problem
- Replies: 1
- Views: 2414
Blog php script problem
Hi guys! I has got a problem in blog.posts.inc.php. This is the error: Parse error: syntax error, unexpected '{' in /mnt/ultraweb/n/na/nanasite/core/inc/posts.inc.php on line 42. This is the code: <?php // checks if the given post id is in the table. function valid_pid($pid){ $pid = (int)$pid; $tota...