Hi,
I'm going crazy with the following issue. I kept it simple for you to understand it quickly.
The URL: http://localhost/savescores.php?score=222
<?php
$score = strip_tags(mysql_real_escape_string($_GET['score']));
ECHO "Test 1";
ECHO "<h1>Your score is " . $_GET["score"] . "</h1>"; //Working!
ECHO "Test 2";
ECHO "<h1>Your score is $score</h1>"; //Not working!
?>
So the first echo test is working but its gets the information in another way as you can see. I need the second test to work because then I will be able to write the variable back into a database using url vars on a later stage.
When I change the var $score manually to e.g. $score = '222'. Then all is working fine. I need it to work with the use of the URL.
Anyone who can help?