Is there any alternative for directly inserting the value of a php variable into html or javascript other than <?= ... ?> which my joyent hosting server doesn’t seem to support . I know I could use echo but that would end up looking clumsy .
Is there any alternative for directly inserting the value of a php variable into
Share
If
short_open_tagis disabled by your provider you’ll have to use<? echo. See the php.ini documentation.