I'm a bit befuddled on this, as by everything I can see, this should work... but it's not. I'm missing something elemental, and it's probably staring me right in the face. The variable $m equals 'big.' Here's my code thus far:
$contents=" echo \"<li><a href=\\\"../".$m.".php"
."?lg=\""
.".$_GET[lg]."
."\""
."\\\">".$m."</a></li>\";\r\n"
Here's what I was expecting:
echo "<li><a href=\"../big.php?lg=".$_GET[lg]."\">big</a></li>";
Here's what I got:
echo "<li><a href=\"../big.php?lg=".."\">big</a></li>";
It's missing the output of the $_GET ... it seems as if it's trying to DO the get, rather than place the word in the string. Can anybody untie this knot?