Search found 5 matches

by merazzauk
Sun Jan 13, 2013 9:44 pm
Forum: Tutorials
Topic: Blog(including commenting) issue
Replies: 7
Views: 1847

Re: Blog(including commenting) issue

Never mind!! It's because I was using lowercase for $_GET...
by merazzauk
Sun Jan 13, 2013 7:03 pm
Forum: Tutorials
Topic: Blog(including commenting) issue
Replies: 7
Views: 1847

Re: Blog(including commenting) issue

Well, I have now come across another issue!! Whenever I link from my posts list to the blog_read page I am getting my invalid post ID message... Here is the syntax for the blog_read file: <?php include 'core/init.inc.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &...
by merazzauk
Sun Jan 13, 2013 12:44 pm
Forum: Tutorials
Topic: Blog(including commenting) issue
Replies: 7
Views: 1847

Re: Blog(including commenting) issue

Ok, so it turns out that my sql wasn't quite correct!!

Fixed it now :)
by merazzauk
Sun Jan 13, 2013 9:57 am
Forum: Tutorials
Topic: Blog(including commenting) issue
Replies: 7
Views: 1847

Re: Blog(including commenting) issue

Yep, i'm quite new to php, but very experienced at typos I'm afraid!! :lol:

That has fixed the first two errors but not the mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in warning...

Any ideas?
by merazzauk
Sat Jan 12, 2013 10:03 pm
Forum: Tutorials
Topic: Blog(including commenting) issue
Replies: 7
Views: 1847

Blog(including commenting) issue

Hi, I am receiving the following errors when trying to test my blog_list page: Notice: Undefined variable: sql in C:\xampp\htdocs\caddingtoncc\blog\core\inc\posts.inc.php on line 36 Notice: Undefined variable: sql in C:\xampp\htdocs\caddingtoncc\blog\core\inc\posts.inc.php on line 38 Warning: mysql_...