here is the first script which works:
http://24.190.94.106:800/stats/phpform.php~
it does a bunch of stuff and finally displays the final result as $stats
now if you take a look at:
http://24.190.94.106:800/stats/phpform2.php~
its mostley the same script except for the last few lines
Code: Select all
<?php
//Scans for For: and replaces the next line with $player variable
sscanf($stats, 'For: %s' , $player);
//displays results
echo "Player: $player<br>";
?>so my question is how come in the second script (phpform2.php) the $player variable is never displayed?