Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

infinite sub-categories in MySQL

Name: Anonymous 2016-03-18 14:50

what I am trying to do is a forum where you can have a sub-forum that is a sub-forum of sub-forum... but as many as you want?
how do I desighn the schema in MySQL? any hint much appreciated

Name: Anonymous 2016-03-18 16:23

FrozenVoid, I thought you were leaving.

Name: Anonymous 2016-03-19 0:19

forum: (forum_id, parent_id, …)

`parent_id` being a nullable reference to another `forum_id`; only top level forums have a NULL `parent_id`

Name: Anonymous 2016-03-19 0:26

>>3
This isn't StackOverflow. Don't encourage the kiddies.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List