The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Vars are being passed on through a form; make sure that all the vars that you are using are in the previous page, in input tags, as the name="xxx" part, if they aren't, then if you use the variable on the next page, it won't work.
E.G. <form type="post" blah blah blah> <input NAME="BLAHBLAH" lkjsdlfkjsdlkjsdf>sldkfsdlk <input type="submit">sdfsdf </form> next page: if ($BLAHBLAH=="1") { $elephants="fly"; } That will work, because BLAHBLAH is the name of the input field on the previous page. |
#12
|
||||
|
||||
So if in the *tablename*_q4 template I were to add:
Code:
<input type="hidden" name="qid" value="$question4[qid]"> If so, it doesn't - I've already tried Satan |
#13
|
|||
|
|||
No it won't intval it or anything...i'm just confused. What is working, and what isn't working?
|
#14
|
||||
|
||||
AFAIK the count works...
The inserting the question's id (qid) into the question1, question2, question3 and question4 fields are not, and subsequently, because the $qid variable is not being intval'ed, the $whichscore will not work as that relies on the $qid variable also... AKA - None of it works Satna |
#15
|
|||
|
|||
Try not to intval $qid, then see what $whichscore outputs...
|
#16
|
||||
|
||||
Absolutely nothing...
Satan |
#17
|
||||
|
||||
So can anyone help?
Satan |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|