RE: [PHP] Newbie again: get no $QUERY_STRING
| From: | Robby Russell | Date: | Thu, 28 Oct 2004 04:07:59 +0000 |
| Subject: | RE: [PHP] Newbie again: get no $QUERY_STRING | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200514@lists.php.net to get a copy of this message | ||
On Thu, 2004-10-28 at 09:28 +0530, Zareef Ahmed wrote:
> Hi,
> What are you trying to do? If you want to get the values of query
> string they will be available in $_GET array.
>
> Try
>
> Print "<pre>";
> print_r ($_GET);
> Print "</pre>";
>
Yeah, as a habit I usually have a function called something like debug()
function debug($arg)
{
print "<pre>";
print_r($arg);
print "</pre>";
}
debug($_GET);
try not to use capitalized P in print...
-Robby
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON | www.planetargon.com
* Portland, OR | robby@planetargon.com
* 503.351.4730 | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now supporting PHP5 and PHP4 ---
****************************************/
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc