Bluehost.com Web Hosting $6.95

Java in PHP

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-15-2003
Peter
 
Posts: n/a
Default Java in PHP

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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0