This is a discussion on Java in PHP within the PHP General forums, part of the PHP Programming Forums category; Hi there, i got a real nasty prob... this is a peace of my code and what i want is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi there,
i got a real nasty prob... this is a peace of my code and what i want is that the value's of 'correct' and 'wrong' from the java script, come in the $goed and $fout of the PHP script... echo "score = \"\" + ((correct / (correct + wrong)) * 100);\n"; echo "score = score.substring(0,4) + \"%\";"; echo "alert(msg + \"\\nJe Score: \" + score + \"\\n\\n\"\n"; echo "+ rest + \" over van de 501\\n\\n\"\n"; $goed = "+ correct +"; echo "+ correct + \" goed\\n\"\n"; $fout = "+ wrong +"; echo "+ wrong + \" fout\\n\\nBij 0 is de telling klaar en zal dan overnieuw beginnen... \\n\");\n"; echo "}\n"; can anny one help me please, please, pleaseeeeeee Thanks, Peter |