
08-25-2008, 07:20 AM
|
|
|
Join Date: Jul 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
I make my question in a quote because after posted this, I saw Daggerzz's post. The problem is similar. However, I typed my question so I don't want to delete it :">
Quote:
For example, I have 2 categories: A and B, and in each category, there are 3 forums.
The forum ids are 2, 4, 6 (3 forums in category A) and 5, 7, 9 (3 forums in category B).
I want to design 2 forms (newA and newB) for each category. 3 forums in each category will use a common form.
http://mydomain.com/newthread.php?do=newA&f=2
http://mydomain.com/newthread.php?do=newA&f=4
http://mydomain.com/newthread.php?do=newA&f=6
http://mydomain.com/newthread.php?do=newB&f=5
http://mydomain.com/newthread.php?do=newB&f=7
http://mydomain.com/newthread.php?do=newB&f=9
How can I do that?
I think that I should get the forumid from the URL to put into the variable $formforumid in the form template (newA or newB). Is it possible?
If I don't make that number a variable, then I have to make 3 separate forms, whose the contents are same, but names are different, for each category. In the example, there are only 6 forums. However, in practically, there may have more forums that 6. Make seperate form for each forum is really not effective way.
Could someone help me?
|
|