FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Associative Array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Associative Array [message #176173 is a reply to message #176172] Mon, 28 November 2011 23:26 Go to previous messageGo to previous message
Doug Miller is currently offline  Doug Miller
Messages: 171
Registered: August 2011
Karma:
Senior Member
On 11/28/2011 4:00 PM, Jerry Stuckle wrote:
> On 11/28/2011 3:42 PM, Doug Miller wrote:
>> On 11/28/2011 1:57 PM, Jerry Stuckle wrote:
>>> On 11/28/2011 7:41 AM, Cristiano Larghi wrote:
>>>> Il Mon, 28 Nov 2011 07:27:16 -0500, Jerry Stuckle ha scritto:
>>>>
>>>> > <INPUT id="99_300_prezzo0" name="product_data[0][0][0]"
>>>> > readOnly="readonly" type="text"> (value for prezzo0)
>>>>
>>>> id (and name) *CANNOT* start with a digit ...
>>>>
>>>> http://www.w3.org/TR/html4/types.html#type-name
>>>
>>> PHP doesn't care...
>>>
>> Except to the extent that the HTML error may affect the way the browser
>> presents the $_POST array to the server. The original post isn't
>> available to me any more, but IIRC it showed that his $_POST array had
>> *three* elements where he really wanted only one, e.g.
>> $_POST ['99']
>> $_POST ['300']
>> $_POST ['prezzo0']
>> where he was expecting to see
>> $_POST ['99_300_prezzo0']
>>
>> ISTM that he may not have had this problem had the HTML code read
>> <INPUT id="A_99_ ... etc.
>
> PHP doesn't care...
>
Except to the extent that markup errors [apparently] affect the way the
$_POST array is presented to the script...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Order/Timing of Execution of PHP
Next Topic: Browser doesn't support
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 10:47:35 GMT 2024

Total time taken to generate the page: 0.04788 seconds