Heres the diagram of the way I've got the database:
DATABASE--> itsafaq
| topics posts
------ -----
(pkey/autoi) topic_id post_id (pkey/autoi)
topic_title topic_id
topic_owner post_text
post_owner
When a php page is generated in the faq, it displays the topic_title and the post_text/post_owner. I am getting a "0" in the database where the topic_id (posts table), is supposed to have the same topic_id that was set in topic_id (topics table). Does anyone know how I can go about doing that? I am unsure as to whether I need to have that coded in php or if that can be addressed in mysql.
I appreciate your help!
Rninja
DATABASE--> itsafaq
| topics posts
------ -----
(pkey/autoi) topic_id post_id (pkey/autoi)
topic_title topic_id
topic_owner post_text
post_owner
When a php page is generated in the faq, it displays the topic_title and the post_text/post_owner. I am getting a "0" in the database where the topic_id (posts table), is supposed to have the same topic_id that was set in topic_id (topics table). Does anyone know how I can go about doing that? I am unsure as to whether I need to have that coded in php or if that can be addressed in mysql.
I appreciate your help!
Rninja
