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

Home » Imported messages » comp.lang.php » Simple array code seems to break ..
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Simple array code seems to break .. [message #175473 is a reply to message #175472] Fri, 30 September 2011 17:10 Go to previous message
Jessica Streicher is currently offline  Jessica Streicher
Messages: 1
Registered: September 2011
Karma:
Junior Member
Thanks.. removing the space worked.
I swear i tried that before... and it did not..
*grumbles*

Such a stupid thing..

On 30.09.2011 18:35, Peter H. Coffin wrote:
> On Fri, 30 Sep 2011 18:13:19 +0200, user(at)domain(dot)invalid wrote:
>> Hi, i'm just starting with php, and i have a problem that i just cant
>> solve oO
>>
>> I a web page i have a scipt
>>
>> <? php
>> $x = array("a"=>"b","b"=>1);
>> ?>
>>
>> which produces an output of
>> "b","b"=>1); ?>
>>
>> So, it pretty much stops counting as a script at the =>
>>
>> And i just don't get why..
>
> Turn off short tags, remove the space between<? and php, try it again.
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: cURL and MultiPowUpload
Next Topic: Contact Form
Goto Forum:
  

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

Current Time: Sun Nov 24 10:42:10 GMT 2024

Total time taken to generate the page: 0.03689 seconds