To add to Mark’s answer: The short_tags option must be enabled for the <?=
syntax to be valid. This presents a major portability problem when moving to a server that has this option disabled.
More Related Contents:
- Reference — What does this symbol mean in PHP?
- Reference Guide: What does this symbol mean in PHP? (PHP Syntax)
- Date format using dd/mm/yyyy using HTML
- How verify if input is numeric
- PHP Subtracting two number gives wrong values [closed]
- Change value in php [closed]
- How to apply bindValue method in LIMIT clause?
- How to Truncate a string in PHP to the word closest to a certain number of characters?
- Best way to parse bbcode
- Use one bind_param() with variable number of input vars
- PHP UPDATE prepared statement
- Executing a shell script from a PHP script
- PHP syntax question: What does the question mark and colon mean? [duplicate]
- MCrypt rijndael-128 to OpenSSL aes-128-ecb conversion
- json_decode to custom class
- CodeIgniter PHP Model Access “Unable to locate the model you have specified”
- Change single variable value in querystring [closed]
- Remove duplicate items from an array [duplicate]
- ERROR: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
- How to convert ISO8601 to Date format in php
- return one value from database with mysql php pdo
- php send email with attachment
- In PHP what does it mean by a function being binary-safe?
- PHP save image file [duplicate]
- MySQL & PHP Parameter 1 as Resource
- How can I read XMP data from a JPG with PHP?
- json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT
- Error 405 (Method Not Allowed) Laravel 5
- Increasing PHP memory_limit. At what point does it become insane?
- php weeks between 2 dates