Jump to content

how to create a new link/page from new data entered


phpmikey

Recommended Posts

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.