|
| 28 Sep 2015 04:48 PM |
It's being coded in PHP and SQL.
My plan is to create a table with these properties:
Title Body Author Parent Section ID
All posts, both threads and replies, all are a single row in the table. When you click a section, the database retrieves the titles of all posts with the same Section as the section you clicked and that have the Parent property set to -1.
When you click a thread, it then shows the post and searches the database again for all posts with the Parent property that has the same ID as the post you clicked, and lists them below it.
|
|
|
| Report Abuse |
|
n00kr
|
  |
| Joined: 19 Sep 2015 |
| Total Posts: 628 |
|
|
| 28 Sep 2015 04:49 PM |
| Watch me start dropping your MySQL tables |
|
|
| Report Abuse |
|
|
| 28 Sep 2015 04:50 PM |
@n00kr
That's not possible. All the inputs are checked to be alphanumeric before you input them, so there's no way you could do an SQL injection. |
|
|
| Report Abuse |
|