Re: Problem retrieving $_POST values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 13, 2007 7:10 PM, Jon Westcot <jon@xxxxxxxxxxx> wrote:
> Hi Chris:
>
> > Exactly as you have there.
> >
> > print_r($_POST);
> >
> > will show you everything.
>
>     Here's a section of what comes back when I do this:
>
>     [mls] => 1234567
>     [property_address] => Main St
>     [city_arr] => Array
>         (
>             [0] => CHNDHT
>             [1] => CHNDLR
>             [2] => GILBER
>             [3] => HIGLEY
>             [4] => MESA
>             [5] => TEMPE
>         )

So it is there :)

print_r($_POST['city_arr']);

> > How are you creating the field in your form?
>
>     The three fields mentioned above on the form are specified thus:

<snip>
all looks good.

> > > Is there some (free <g>) way to test a php script outside of a web page?
> >
> > cmd line you can do:
> >
> > php -l /path/to/file.php
>
>     Is this something I can access through SSH?  And will it show me errors as the script executes?

Oops, I thought you meant for parse errors. That won't tell you about
anything else unfortunately.

-- 
Postgresql & php tutorials
http://www.designmagick.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux