Author Message

Posted: Wed Dec 29, 2010 10:27 pm   Post subject: Quizmaker Trial Version - test.php / index.php scripts

Hello, I'm trying to use the $_POST variables in either the test.php or index.php scripts to write the quiz results to our MySQL database. The only way they work, is when they're hard coded as in the test.php script:
$_POST['v'] = '1';
$_POST['sp'] = '3';
$_POST['psp'] = '80';
// $_POST['ps'] = '3';
$_POST['tp'] = '90';
$_POST['sn'] = 'test';
$_POST['se'] = 'test@test.ru';
$_POST['te'] = 'homer@nhmrc.gov.au';
$_POST['qt'] = 'New Quiz';
$_POST['dr'] = file_get_contents('testReport.xml');
How can I retrieve the actual quiz results, rather than using the hard coded values?
Any help is greatly appreciated - thanks!


Profile profile test
Display posts from previous:  Sort by  

  


Who is online
Who is online In total there are 8 users online :: 3 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Baidu [Spider], Bing [Bot], Yahoo [Bot]


cron