Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3244
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Peter H. Coffin" <hellsop@ninehells.com> |
| Newsgroups | comp.lang.php |
| Subject | Re: Simple array code seems to break .. |
| Date | Fri, 30 Sep 2011 11:35:59 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Message-ID | <slrnj8brvf.hbg.hellsop@nibelheim.ninehells.com> (permalink) |
| References | <j64pqq$1ms$1@cache.uni-koblenz.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Injection-Info | mx04.eternal-september.org; posting-host="le/2G4+BNpieVhQI6uJ2Lw"; logging-data="28793"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DiatzfyvNYSZRBcO02g22" |
| User-Agent | slrn/0.9.9p1 (OpenBSD) |
| Cancel-Lock | sha1:CPg4l+DQXkp3IpZSORfwG0YsXzw= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:3244 |
Show key headers only | View raw
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