Re: Retrieving parameters passed from .html...?
| From: | Lori Lay | Date: | Wed, 11 Apr 2007 03:45:04 +0000 |
| Subject: | Re: Retrieving parameters passed from .html...? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252552@lists.php.net to get a copy of this message | ||
Anthony J. Maske wrote:
See... the second I sent this I took a sip of red-bull and my brain cleared up... $topicID = $_GET['showtopic']; Right? Yes. And if you have a form that uses the POST method, it would be $_POST['element'].Some of the other variables you will eventually need: http://ca3.php.net/manual/en/reserved.variables.php Lori
Anthony J. Maske ajmaske@comcast.net http://home.comcast.net/~ajmaske -----Original Message----- From: Anthony J. Maske [mailto:ajmaske@comcast.net] Sent: Tuesday, April 10, 2007 8:33 PM To: PHP General Subject: [PHP] Retrieving parameters passed from .html...? Hey all, My first post here..., new to php and so far doing great picking it up... but, tonight I'm having a brain fart... How do you pick up (read) the parameters passed into a php script from an html file? Given... http://somewhere/dosomething.php?showtopic=99999 How do you read or get the value showtopic and the value of 99999? I know this is simple but I'm pulling my hair out here... Thanks! Anthony