Hi, this is sorta hard to explain but ill give it ago. How do i have; index.php?action={name} Ive used the google, but i can phrase it right to get it. Any help appreciated Serangan
here is a example www.xxxxxxxx.com/index.php?a=1 now in ur index file use this code to get the variable a <?php $q=$_GET['a']; if (a=1){} else .... ?> what exactly r u trying to do?
You may do the following in case the var is sent via POST. This will pick up both POST and GET value for 'action'. $action = $_REQUEST['action']
Im just learning php, and i was interested in this, cause ive seen it done on lots of sites and didnt know how it was done.
The phrase is passing parameters via urls. Lots of hits from google. Hard to know what to search for though. Here's the link: http://www.google.com/search?hl=en&q=passing+parameters+via+urls+php&btnG=Google+Search