<? echo $var; // Echos this ?>
and it works fine. However, on another server if I put the same code and same URL syntax I get nothing. What is wrong on the second server?
Guest_NeedHelp_*
<? echo $var; // Echos this ?>
|
|
|
<? echo $_GET['var']; // Echos this ?>
Guest_NeedHelp_*
<?php $variable = $_GET['variable']; //your code ?>
Guest_Jordan_*
if(!empty($_GET)) extract($_GET); if(!empty($_POST)) extract($_POST);
Guest_crocodile_*
<?php $var = $_REQUEST['var'] ?>not a good choice