JabsBlog Posted July 1, 2006 Share Posted July 1, 2006 I have a question on forms and getting the information from 1 form to another on seperate pages. I have a project that I am working on .. My index page pulls information from a Database. One of the fields is called blog_id. This is a random unique number. In my Index page the Parent post has a Unique ID assigned to it in the Database. I want to create a link for a Child Post and be able to display the child post under the Parent Post. I am not quite sure how to go about doing this. Any Help would be thankful Quote Link to comment https://forums.phpfreaks.com/topic/13412-child-post-to-a-parent-post/ Share on other sites More sharing options...
mrwhale Posted July 1, 2006 Share Posted July 1, 2006 the child post needs a field called something like "parent_id" this will store the parent posts id.then when you are viewing the parent post you simply pull all the child posts from the database that have the parent_idEasy as pie ;) Quote Link to comment https://forums.phpfreaks.com/topic/13412-child-post-to-a-parent-post/#findComment-51783 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.