Sunday, October 10, 2010

PHP passing variables

Have laid off from writing PHP for so long, I have forgotten so many things. Finally I realized that by default GLOBALS are not enabled. No wonder I can't pass the values to the variables via the URL.


$var = $_GET["var"];


Problem solved.

No comments:

Post a Comment