Soldato
- Joined
- 30 Nov 2005
- Posts
- 3,086
- Location
- London
Hey,
Can anyone help me pass a JavaScript value to PHP.
It's based around jQuizMe script. I'm trying to pass the JavaScript value to a new page, so I can do what I like with it in PHP.
quizInfo.numOfRight is the JavaScript array of the value of the persons final quiz score is stored in.
I'm thinking that perhaps we will need to redirect the person to another page when quizInfo.hasQuit is ran, then storing the JavaScript value into a PHP Array.
But rather confused about how I go about it.
Thanks
Can anyone help me pass a JavaScript value to PHP.
It's based around jQuizMe script. I'm trying to pass the JavaScript value to a new page, so I can do what I like with it in PHP.
quizInfo.numOfRight is the JavaScript array of the value of the persons final quiz score is stored in.
PHP:
if( quizInfo.hasQuit ){
SOMETHING HERE with quizInfo.numOfRight
}
I'm thinking that perhaps we will need to redirect the person to another page when quizInfo.hasQuit is ran, then storing the JavaScript value into a PHP Array.
But rather confused about how I go about it.
Thanks
