Re: Problem retrieving $_POST values

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

 



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
        )
 
> How are you creating the field in your form?

    The three fields mentioned above on the form are specified thus:

  <p>MLS#: 
    <input name="mls" type="text" id="mls" /> 
    Address: 
    <input name="property_address" type="text" id="property_address" size="50" />
  </p>
  <p>City: 
    <select name="city_arr[]" size="5" multiple="multiple" id="city">
 <option value = "CHNDHT">CHNDHT</option>
<option value = "CHNDLR">CHNDLR</option>
<option value = "GILBER">GILBER</option>
<option value = "HIGLEY">HIGLEY</option>
<option value = "MESA">MESA</option>
<option value = "TEMPE">TEMPE</option>
    </select>

 
> > 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?

    Thanks for the suggestions!

    Jon

[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