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

Home » Imported messages » comp.lang.php » mysql_fetch_array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: mysql_fetch_array [message #169774 is a reply to message #169773] Sun, 26 September 2010 11:44 Go to previous messageGo to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Sep 26, 12:36 am, MikeB <mpbr...@gmail.com> wrote:
> Captain Paralytic wrote:
>> On Sep 25, 9:28 pm, MikeB<mpbr...@gmail.com>  wrote:
>>> I have the following code:
>   <snip>
>
>>> What PHP magic is at work here?
>
>>> Thanks.
>
>> I can recommend reading:
>> http://php.net/manual/en/language.types.array.php
>
> I've read that page before, but only now the following sentence makes
> sense:
>
> "If a key is not specified for a value, the maximum of the integer
> indices is taken and the new key will be that value plus 1. If a key
> that already has an assigned value is specified, that value will be
> overwritten. "

I was referring to the section just below headed:
"Creating/modifying with square bracket syntax"
but the paragraph that you mentioned certainly explains more of the
actual details.
[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
Previous Topic: Group sort syntax?
Next Topic: Code to create a cookie in PHP
Goto Forum:
  

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

Current Time: Sat Nov 30 11:45:18 GMT 2024

Total time taken to generate the page: 0.04036 seconds