php forum script help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pb2ya
Forum Commoner
Posts: 42
Joined: Sat Jul 06, 2002 5:20 pm
Location: ATL
Contact:

php forum script help

Post by pb2ya »

Ive been trying to figure this out for a while, its driving me insane.
Ok, im making a forum script, and want to know how, like on this forum, you can make it so theres a table of links to every thread. how do you do that? i cant explain it really good, sry, so if theres a tutorial on this, or you guys can tell me what functions 2 use that would be greeeat.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

All the links are stored in a database with a unique ID, I assume that the code used just pulls all of these out and makes them into a link using their unique ID as part of the links' query string. Like so:
http://www.devnetwork.net/forums/viewtopic.php?t=2310
where 't' is the topic ID.

Mac
lc
Forum Contributor
Posts: 188
Joined: Tue Apr 23, 2002 6:45 pm
Location: Netherlands

Post by lc »

I don't think there's a specific forum tut out there... it's a bit too complex usually to create a simple tut for.

If you're using flatfiles maybe I can help since I did one, but be specific about what sort of system you use... there's usually more than one answer... plenty more.
DynamiteHost
Forum Commoner
Posts: 69
Joined: Sat Aug 10, 2002 5:33 pm

Post by DynamiteHost »

http://www.thescripts.com/serversidescr ... page0.html

You should be able to find something there, I'm writing my own forums script at the moment, and that place is good for reference :D
pb2ya
Forum Commoner
Posts: 42
Joined: Sat Jul 06, 2002 5:20 pm
Location: ATL
Contact:

THANK YOU

Post by pb2ya »

:D :D :D THANK YOU :D :D :D




:D :oops: :D :oops: :D
:D :oops: :D :oops: :D
:D :D :D :D :D
:oops: :D :D :D :oops:
:D :oops: :oops: :oops: :D

BIG smiley lol
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

haha cute
pb2ya
Forum Commoner
Posts: 42
Joined: Sat Jul 06, 2002 5:20 pm
Location: ATL
Contact:

:)

Post by pb2ya »

i just wanted to say one thang: if its 4:00 am and you cant seen 2 concentrate on php, heres your aid: http://www.thinkgeek.com/stuff/caffeine/
Elfstone
Forum Newbie
Posts: 21
Joined: Tue Jun 11, 2002 2:25 am
Location: NJ, USA

Post by Elfstone »

I'd highly reccommend the Penguin Mints myself, on that page under more candy. ;)
DynamiteHost
Forum Commoner
Posts: 69
Joined: Sat Aug 10, 2002 5:33 pm

Post by DynamiteHost »

lol :D
Post Reply