How to set $_GET variable
How do i set the variable that the $_GET function will be able to use, w/o submitting a form with action = GET ? You can create a link , having get variable in href. <a href="www.site.com/hello?getVar=value" >...</a> $_GET contains the keys / values that are passed to your script in the URL. If you have the following URL : http://www.example.com/test.php?a=10&b=plop Then $_GET will contain : array 'a' => string '10' (length=2) 'b' => string 'plop' (length=4) Of course, as $_GET is not read-only, you could also set some values from your PHP code, if needed : $_GET['my_value'] = 'test'; But this