Welcome Guest, Not a member yet? Register   Sign In
PHP Opening tag -- <? and <?php
#5

[eluser]codex[/eluser]
[quote author="WackyWebs.net" date="1217627581"][quote author="codex" date="1217627337"][quote author="foobarph" date="1217599117"]I will answer my own question:

Set short tags to TRUE in config/config.php file

http://ellislab.com/codeigniter/user-gui...e_php.html

Oh brother..[/quote]

Do yourself a favour and don't use short tags. From php6 they will be deprecated. Ok, that time has yet to come, but it'll save you time then ;-)[/quote]

Not Quite, just found this on the net:

Quote:Farewell <%
They will remove support for the ASP style tags, but the PHP short-code tag will remain (&lt;?) - so to those on php general who reckon the short-tag is 'depreceated' - hah! ;-)
[/quote]

Nevertheless, &lt;?php is still better practice than &lt;?


Messages In This Thread
PHP Opening tag -- &lt;? and &lt;?php - by El Forum - 08-01-2008, 02:47 AM
PHP Opening tag -- &lt;? and &lt;?php - by El Forum - 08-01-2008, 02:58 AM
PHP Opening tag -- &lt;? and &lt;?php - by El Forum - 08-01-2008, 10:48 AM
PHP Opening tag -- &lt;? and &lt;?php - by El Forum - 08-01-2008, 10:53 AM
PHP Opening tag -- &lt;? and &lt;?php - by El Forum - 08-01-2008, 11:10 AM
PHP Opening tag -- &lt;? and &lt;?php - by El Forum - 08-01-2008, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB