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

Home » Imported messages » comp.lang.php » Dot in array key name
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Dot in array key name [message #169993 is a reply to message #169985] Sun, 03 October 2010 19:20 Go to previous messageGo to previous message
Tim Roberts is currently offline  Tim Roberts
Messages: 2
Registered: September 2010
Karma:
Junior Member
Martin <warwound(at)gmail(dot)com> wrote:
>
> I had previously done a simple test which produced no errors:
>
> <?php
> $i=array();
> $i['myName']='this is ok';
> $i['afile.nam']='is this ok?';
> print_r($i);
> ?>
>
> So was hoping that the dot was ok which is now confirmed.
>
> I shall look elsewhere for the bug....

My first wild guess would be capitalization. myName.png and myname.png are
two different entries, as far as the array is concerned.
--
Tim Roberts, timr(at)probo(dot)com
Providenza & Boekelheide, Inc.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Inserting into associative array
Next Topic: php ide with checkpoint restart is there?
Goto Forum:
  

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

Current Time: Sat Nov 30 15:15:46 GMT 2024

Total time taken to generate the page: 0.04084 seconds