introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Problem using <?=



Posted by: Spira
November 06, 2010 11:08PM
Well i have a problem when using EasyPHP. All was fine when i reinstalled Easyphp to test something. After that i have some php files where there is html code and inside it php commands such as <?=$text ?>. But when i page is displayed dosen;t recongized it and just dispalys it as it is. Can you help me? I have a webhost and there all are fine.
Options: ReplyQuote
Posted by: Spira
November 06, 2010 11:38PM
well using <?php echo "hello world"; ?> seems to work. But why <?= dosen't work?
Options: ReplyQuote
Posted by: Spira
November 06, 2010 11:45PM
ok i found the solution. i chanced the configuration file short_open_tag = Off to On
Options: ReplyQuote
Posted by: Amour
November 07, 2010 07:45AM
It's not the solution because <? is very old and depreciated... it's better to use full tag <?php
Options: ReplyQuote
Posted by: suryakanta
January 23, 2011 09:17PM
You better use <?php ?> tags.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.