Search found 5 matches

by Zoomer
Tue Nov 29, 2011 4:27 am
Forum: Tutorials
Topic: Avatar Upload Tutorial - Syntax Error
Replies: 0
Views: 2138

Avatar Upload Tutorial - Syntax Error

Hello, Currently following the avatar upload tutorial, and I've gotten an error. "Parse error: syntax error, unexpected '=' in user.inc.php on line 92" user.inc ( Line 27 in the following code ) [syntax=php]// Updates the current user's profile info function set_profile_info($email, $about...
by Zoomer
Sat Nov 26, 2011 1:36 am
Forum: Tutorials
Topic: Blog Tutorial - Read Page Problems
Replies: 7
Views: 1669

Re: Blog Tutorial - Read Page Problems

Everything is working fine now. Thanks for all the help.
by Zoomer
Fri Nov 25, 2011 3:20 am
Forum: Tutorials
Topic: Blog Tutorial - Read Page Problems
Replies: 7
Views: 1669

Re: Blog Tutorial - Read Page Problems

Alright, with your help I've managed to get the errors to disappear. But I've run into a new problem... When I post a comment, the comment body is showing up for both username, and body. e.g. "By Quick test comment. on 25/11/11 03:11:24 Quick test comment." Not sure what exactly I changed ...
by Zoomer
Thu Nov 24, 2011 1:43 am
Forum: Tutorials
Topic: Blog Tutorial - Read Page Problems
Replies: 7
Views: 1669

Re: Blog Tutorial - Read Page Problems

Alright, I changed the foreach line. Here is my get_post: [syntax=php]//Fetches a single post from the table. function get_post($pid){ $pid = (int)$pid; $sql = "SELECT `post_title` AS `title`, `post_body` AS `body`, `post_user` AS `user`, `post_date` AS `date` FROM `posts` WHERE `post_id` = {$p...
by Zoomer
Wed Nov 23, 2011 2:06 am
Forum: Tutorials
Topic: Blog Tutorial - Read Page Problems
Replies: 7
Views: 1669

Blog Tutorial - Read Page Problems

Hello, I have been following your blog tutorial video's, and everything works fine but the blog_read page. It simply shows By on (0 comments), and the comments form. I searched your forum, and read another topic with the same problem, but unfotunatly the topic didn't solve mine. I added error_report...