henrikdam
08-02-2007, 07:23 AM
Hi,
I have two questions. I really hope you can help me out:
1. I would like to have my users clicking a special link to open a new thread, and then the title/subject will be filled out already.
For example: They click the link
http://www.mysite.com/newthread.php?do=newthread&f=3&subject=MYSPECIALSUBJECT
and the new thread site opens with the title field already filled out with "MYSPECIALSUBJECT".
2. I want to be able to add an extra id to a new thread, and save it along with the other thread info in the mysql database when the users submits the new thread. It should work in the same way as the other, so when they click the link to open a new thread:
http://www.mysite.com/newthread.php?do=newthread&f=3&extraid=5000
it would add the value "5000" in a field in the database when they submit the thread.
I know how to create the field in the database, I just don't know how to add these data into it.
I hope you can help me out.
Thanks.
Kind regards
Henrik
I have two questions. I really hope you can help me out:
1. I would like to have my users clicking a special link to open a new thread, and then the title/subject will be filled out already.
For example: They click the link
http://www.mysite.com/newthread.php?do=newthread&f=3&subject=MYSPECIALSUBJECT
and the new thread site opens with the title field already filled out with "MYSPECIALSUBJECT".
2. I want to be able to add an extra id to a new thread, and save it along with the other thread info in the mysql database when the users submits the new thread. It should work in the same way as the other, so when they click the link to open a new thread:
http://www.mysite.com/newthread.php?do=newthread&f=3&extraid=5000
it would add the value "5000" in a field in the database when they submit the thread.
I know how to create the field in the database, I just don't know how to add these data into it.
I hope you can help me out.
Thanks.
Kind regards
Henrik