I created a simple php file x.php.
<?php echo "$param" ?>
when I go to http://localhost/x.php?param=Works
it doesn't echo.
can anyone tell me what the problem is and how can I correct it?
<?php echo $_GET['param']; ?>
Cgraz
it works! thank you.
I was pretty sure that <?php echo "$param" ?> was also a correct code. 😕
I remember I read it in a tutorial 😕 😕
you have globals set to off. That means you need to access all form variables using $POST['var_name'] and all variables in the URL as $GET['var_name']
Thank yaaa 🙂