The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
trying to learn some php, im a n00b lol anyways
i have a form named "vogreq" which has several options, 1000,2000 ect, now i want the action to respond differently to each action. i have tried: PHP Code:
thanks |
|
#2
|
||||
|
||||
|
Your code does not make any sence. A string cannot use values like > < and so on. As for what you are asking help on.... I have no clue what you mean.
|
|
#3
|
||||
|
||||
|
Code:
if ($action=="vogamount") {
if ($vogreq == 'rq1000vog') {
echo "<META HTTP-EQUIV=\"refresh\" content=\"0;URL=http://forums.voogru.com/store.php?action=reqvog1000\"> \n";
}
if ($vogreq == 'rq2000vog') {
echo "<META HTTP-EQUIV=\"refresh\" content=\"0;URL=http://forums.voogru.com/store.php?action=reqvog2000\"> \n";
}
}
|
|
#4
|
||||
|
||||
|
thanks. i told you im a n00b lol
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|