Easy as that !! When you know what you're doing Thanks Jacek, I'm gonna work my way through all the tutorials, I've leapt on to get a little project done for the wife, she's happy, now I'll go back to basics and hope it all makes a bit more sense.
Happy weekend !! K.
Search found 20 matches
- Sat Sep 17, 2011 2:02 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
- Thu Sep 15, 2011 3:08 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
I was messing about with adding a similar line underneath the original code, didn't occur it could be replaced completely - thanks Jacek, they can't post an empty topic now :) But the add comment code looks a little different with the GET['pid'] and the second 'if' line, I've tried doing the same th...
- Thu Sep 15, 2011 8:55 am
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
Kinda guessed that, it's the syntax (where to put it and how) to use I'm having a problem with.
- Wed Sep 14, 2011 6:25 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
HELP !! I need some code to validate the post and comment forms, at the moment I can click the add post/add comment button when the forms are empty, and empty entries are turning up on the pages. I've tried dropping in some code from the registration form validation but it's not working at all!! Add...
- Tue Sep 13, 2011 12:36 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
OK, I'll give it a good go for sure, the error thingamajig really helps, guess I'll be seeing it a lot
- Tue Sep 13, 2011 9:06 am
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
function get_post($pid){ A thousand thanks Jacek :D - missed out $pid from line 57 in posts.inc file. All working perfectly now. What I would like to do now is seam Blog+Commenting tutorial together with User login+Registration tutorial so the php knows who is posting automatically because they are...
- Mon Sep 12, 2011 4:52 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
Thanks Jacek, you mentioned this earlier, where exactly do I need to put this 'error_reporting = E_ALL ' code?
- Mon Sep 12, 2011 4:37 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
Tried it but no help bud
- Mon Sep 12, 2011 3:31 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
Can't get posts and comments to display on Blog_read page, and I can't see why :oops: When I click the Post title on Blog_list page all I get is this: http://www.iklv.org/by0.PNG I'm guessing the problem is with Blog_read or Comments.inc code? All's fine with blog_list - titles, text, date, time, an...
- Mon Sep 12, 2011 1:20 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Re: Blog inc Commenting tutorial
Thanks Jacek, missed _ from DATE_FORMAT, now I'm looking into why the blogs and comments aren't displaying at all, when I click the blog title in blog_list... just getting "By on (0 comments)" and the comment box at the moment. Fun stuff this php.
- Mon Sep 12, 2011 12:43 pm
- Forum: Tutorials
- Topic: Blog inc Commenting tutorial
- Replies: 19
- Views: 7013
Blog inc Commenting tutorial
Getting this: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/html/web554/html/TEST/core/inc/comments.inc.php on line 16 ..above comment box when clicking Post title, code as follows: function get_comments($pid){ $pid =(int)$pid; $sql = "SELECT `...
- Mon Sep 12, 2011 12:34 pm
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Re: Register and login tutorials
Thanks Jacek, will do
- Sat Sep 10, 2011 8:06 pm
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Re: Register and login tutorials
Just an update, made a glaring mistake by missing out a whole line in init.inc :oops: but all working fine now. But, with xampp I get: Strict Standards: Only variables should be passed by reference in D:\xampp\htdocs\myprojects\core\init.inc.php on line 7 .. but don't get this using my website serve...
- Sat Sep 10, 2011 7:41 pm
- Forum: Suggestions
- Topic: Publishing database content to a website.
- Replies: 1
- Views: 756
Publishing database content to a website.
Hi Jacek, sort of following on (for me for what I'm doing) from Register + Login + Activation, could you have a tutorial on outputting database content to a website, a 'simple' someone posts a comment and the comment is displayed automatically on a web page, I've had a quick look through the tutoria...
- Sat Sep 10, 2011 1:01 pm
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Re: Register and login tutorials
I especially like the part where you waffle on explaining that you won't be waffling on, priceless
Jokin' aside, thanks for your hard work, I'm moving onto the security tutorials now, so guess I'll be back in the forum very soon
All the best. K.
Jokin' aside, thanks for your hard work, I'm moving onto the security tutorials now, so guess I'll be back in the forum very soon
All the best. K.
- Sat Sep 10, 2011 12:18 pm
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Re: Register and login tutorials
It's ok I'm there now, I think.
- Sat Sep 10, 2011 11:24 am
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Re: Register and login tutorials
I found out the 'BIG' problem I missed out the _ from $_SERVER in the init.inc file, now things have improved a lot, but I'm getting now: http://www.iklv.org/img/new.PNG .. when opening register, login, protected, and logout pages, using xampp. The connect is fixed (used wrong password) but a bit lo...
- Sat Sep 10, 2011 7:40 am
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Re: Register and login tutorials
Hi, I just copied the code line by line following the tutorials, is there a cookie? I confess in parts I did turn the volume down - he does waffle sometimes
- Fri Sep 09, 2011 5:51 pm
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Re: Register and login tutorials
Just to add, it might help, I downloaded XAMPP this afternoon - and clicking on all the files (except one) from the Parent directory I get the same FF message: The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will neve...
- Fri Sep 09, 2011 10:36 am
- Forum: Tutorials
- Topic: Register and login tutorials
- Replies: 10
- Views: 2197
Register and login tutorials
Hi everyone, forum newbie and going php crazy. Spent the last 2 days trying to find out my mistakes and I'm going code blind, just can't see them, but it's not working so I've done something/s wrong obviously. I've used the same file structure as in the tutorials, Parent: register.php, login.php, lo...