![]() |
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. |
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 |
No it won't intval it or anything...i'm just confused. What is working, and what isn't working?
|
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 |
Try not to intval $qid, then see what $whichscore outputs...
|
Absolutely nothing...
Satan |
So can anyone help?:)
Satan |
All times are GMT. The time now is 09:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|