@Paait1 You can just make you a parent ID for each comment. If the parent ID is 0 then it's a top comment, else the parent of the comment would be the ID of the parent. Confusing?
Hey I am thinking about adding comment, and then reply (which I will based on ur code)to that comment, and reply to the replies. Do you think the code for the comment, and reply to replies will be the same with the one you wrote on the reply (with some adjustment) ? how about the structure on the index, and forum or admin page. ANY ADVICE?? I appreciate any help.
is this forum finished or you are just too lazy to continue to make more tutorials? well, home you make some more like how do display replays and stuff. great videos. I have learned a lot! I really hope you continue to add these...
Hey Marcs!
Are you there buddy? I am for one checking both of your urls almost everyday, waiting for your 12th HD video, let your most loyal (LOL) subscribers know about the developments please. conti ...
Ah btw, your TEXT tutorial (login.php) has some new lines (items) which we didnt get to see on your video tutorials, mate let us know should we follow the new one or will we be fine with the one we got from your HD videos.
Rating!
Tutorial Quality Stars: 5
Viewer friendliness Stars: 5
Responds to subscriber needs Stars: 5
:-P
hey thanks im editing from here on my own so far i am working on adding a ban/unban user and the profiles i have add the post count i can give you the codes you need for that if you want just pm me
After a good few weeks of (many) attempts, i've finally got upto this tut without any errors! Thanks for doing them, literally the best series of php tutorials i've come across - although at first I cursed at not having a copy of finished source code to compare it too, now that i've gone through all the bugs i accidentally created (and was able to understand why they were bugs!) myself, I feel like i've learnt *a lot* more than if I just copied the correct section from a finished source. Thanks!
FOr the last 2 days I can't find the error in header() function. This is the error
"Warning: CAnnot modify header information - headers already sent by (output started at C:\some_path.php:1) in C:some_path.php on line 36"
And this is the header func header("Location: .(index.php?act=topic&id=".$tid)
Can you help me?!
You need to shut up if your being a jerk, or just calm down if you were trying to help. Sorry, but i dont really know how you are talking because its over text.
Read the description next time, high def videos are available. For the date field, I use varchar because I don't use that format. If you even decided to look at the HD video, you would see how I write my date variables. month day, year at hh:mm:ss.
I prefer old methods of PHP, as long as what I want is accomplished, then it's all good.
Thank you for input.
You need to tune your code writing up a little bit. Not that I needed the tutorial but I found it hard to read and understand.
You should also use a date or time type for date and time storage in your database, not VARCHAR. VARCHAR is much slower when to comes to having more records and sorting through them.
Learning some object oriented PHP wouldn't hurt you either!
Overall, I give you a C+ if you were in my class.