|
Posted by Erwin Moller on 11/03/06 16:26
Michael Wild wrote:
> On Fri, 03 Nov 2006 15:35:33 +0100, Erwin Moller wrote:
>
>> whiskey wrote:
>>
>>> Do a print_r($LOBALS), maybe you misspelled the keys.
>>
>> And you mispelled GLOBALS.
>> ;-)
>>
>> But besides the typo: good advise.
>>
>> Regards,
>> Erwin Moller
>
>
> :-)
>
> I already did, and it looks like:
>
> Array (<stuff left out> [_GET] => [_POST] => )
>
> On my laptop it looks like:
>
> Array (<stuff left out> [_GET] => array() [_POST] => array() )
>
>
> So there definitely is a difference.
>
>
> Michael
Hi,
To make the print_r() more readable, use <pre>
<pre>
<?php print_r($GLOBALS); ?>
</pre>
But more usefull maybe in your situation:
<pre>
<?php print_r($_POST); ?>
</pre>
and
<pre>
<?php print_r($_GET); ?>
</pre>
Regards,
Erwin
[Back to original message]
|