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
[EMAIL PROTECTED]
http://home.comcast.net/~ajmaske



-----Original Message-----
From: Anthony J. Maske [mailto:[EMAIL PROTECTED] 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to