Re: Beginner PHP question
- From: Johannes Hafner <johannes.hafner@xxxxxx>
- Date: Tue, 19 May 2009 19:53:07 +0200
Daniel schrieb:
On Mon, 18 May 2009 17:51:27 -0700 (PDT), c_shah
<shah.chirag@xxxxxxxxxxx> wrote:
For some reason sample website I have displays PHP variables in the
web browser. Also, hyper link i have on the page is displays like
my.domain.com?page=$page&id=$codeno
But there are some part of code does works fine. May be anything
inside <?= tag is being displayed in the browser
I know that <?= is like response.write in ASP or <?echo etc. but I am
a newbie and looks like I am missing something
this stuff does not work in php;
Unfortunately it *does* if you enable short_tags in the php.ini (which is not recommened). Before PHP 5 it was on by default if I remeber correctly.
Johannes
.
- Follow-Ups:
- Re: Beginner PHP question
- From: Daniel
- Re: Beginner PHP question
- References:
- Beginner PHP question
- From: c_shah
- Re: Beginner PHP question
- From: Daniel
- Beginner PHP question
- Prev by Date: Find the root of a number
- Next by Date: Re: Find the root of a number
- Previous by thread: Re: Beginner PHP question
- Next by thread: Re: Beginner PHP question
- Index(es):
Relevant Pages
|