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 #169773 is a reply to message #169772] Sat, 25 September 2010 23:36 Go to previous messageGo to previous message
MikeB is currently offline  MikeB
Messages: 65
Registered: September 2010
Karma:
Member
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. "
[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: Wed Nov 27 12:30:24 GMT 2024

Total time taken to generate the page: 0.04573 seconds