|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Forums
ive made a really simple forum where there are 3 tables, forums, topics, and posts, everything works except for the topic posting...i want the user to input the topic(which works) and the post(which also works) but the post to be under the newly created topic...(which doesnt work)... any ideas, i would really apprecieate it.
code will be at bruski.hell-yeah.net/forums/index.phps |
|
#2
|
||||
|
||||
|
Any way you could screen cap this or provide a link so it'll be more clear exactly what the problem is?
|
|
#3
|
|||
|
|||
|
ok if the post is not displaying under the topic, what you need to do is this.
1.) Make sure that your posts table has a topic_id field and that the topic_id in the posts table matchs the topic_id in the topics table. 2.) observe how your sorting your posts. (date/time) cheers
__________________
-- Jason |
|
#4
|
|||
|
|||
|
ok thx...houston =] ive also figured out the date thing...you have to do date_format(date_news, '%M')as date_news =]
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Forums |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|