Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3244
| From | "Peter H. Coffin" <hellsop@ninehells.com> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Simple array code seems to break .. |
| Date | 2011-09-30 11:35 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnj8brvf.hbg.hellsop@nibelheim.ninehells.com> (permalink) |
| References | <j64pqq$1ms$1@cache.uni-koblenz.de> |
On Fri, 30 Sep 2011 18:13:19 +0200, user@domain.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.
--
A way of life that is odd or even erratic but interferes with no rights
or interests of others is not to be condemned because it is different.
-- Chief Justice Warren E. Burger
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Simple array code seems to break .. user@domain.invalid - 2011-09-30 18:13 +0200
Re: Simple array code seems to break .. "Peter H. Coffin" <hellsop@ninehells.com> - 2011-09-30 11:35 -0500
Re: Simple array code seems to break .. Jessica Streicher <thio@uni-koblenz.de> - 2011-09-30 19:10 +0200
csiph-web