I was curious to see if the following:
<td><?=JText::_('_EMAIL')?></td>
is equivalent to:
<td><?php echo JText::_('_EMAIL')?></td>
I know it’s possible to do:
<td class=<?=$somestring;?>> <!-- markup --> </td>
but, in the case of there being an expression tag which is not necessarily linking up with an attribute, I wasn’t sure if it would produce the same effect.
Is this true?
<?phpand?>just look like SGML/XML processing instructions. As far as PHP is concerned, it is looking for them in text, not markup. It doesn’t matter where you put them.