phpmikey Posted March 30, 2010 Share Posted March 30, 2010 I have to create a basic php forum. I know there are free open source forums but i need to create it myself. I have a entered a number of fixed topic names into mysql and echo them (select *) into a website table. next to the printed names i have button links which takes the user into the topic where they can view posts. BUT how would I allow the user to create a new topic. i can easily setup a submit form to add a new topic name but i need the new data to reproduce a link button/text and even better a new page with with a blank table until posts are entered. i hope this makes sense and thanks for any help. Link to comment https://forums.phpfreaks.com/topic/197007-how-to-create-a-new-linkpage-from-new-data-entered/ Share on other sites More sharing options...
gwolgamott Posted March 30, 2010 Share Posted March 30, 2010 how would I allow the user to create a new topic. i can easily setup a submit form to add a new topic name but i need the new data to reproduce a link button/text and even better a new page with with a blank table until posts are entered. to create a new topic a button that links to a php script... this script comes up with a page to a edit field for title and text area for message....(passing along the way using sessions or cookies the users info) then a submit field that adds the page. that submit button runs a script that adds it to the database/flat file/whatever.... then redirects the user to that topic or whereever. Not sure about what you meant for a blank table part though. Link to comment https://forums.phpfreaks.com/topic/197007-how-to-create-a-new-linkpage-from-new-data-entered/#findComment-1034258 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.