RE: [PHP] Retrieving parameters passed from .html...?
| From: | Robert Cummings | Date: | Wed, 11 Apr 2007 03:43:55 +0000 |
| Subject: | RE: [PHP] Retrieving parameters passed from .html...? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252551@lists.php.net to get a copy of this message | ||
On Tue, 2007-04-10 at 20:38 -0700, 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'];
Almost...
<?php
$topicID = isset( $_GET['showtopic'] ) ? $_GET['showtopic'] : null;
?>
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'