Php: Difference between revisions From Online Manual

Jump to: navigation, search
(Created page with '<tr><td><center><span style="font-size: 12pt;" class="bbc_size"><tt>'''php'''</tt></span></center></td><td><center>'''PHP highlighting'''</center></td><td></td></tr> <tr><td><no…')
 
No edit summary
Line 2: Line 2:


<tr><td><nowiki>&#91;php&#93;&lt;?php echo &quot;Hello world!&quot;; ?&gt;&#91;/php&#93;</nowiki></td><td>The <tt>php</tt> tag colors text with php syntax. This is a block level tag, however no tags can be placed inside as they will all be formatted according to php syntax.</td><td><span class="phpcode"><span style="color: #000000"><span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;world!"</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></span></td></tr>
<tr><td><nowiki>&#91;php&#93;&lt;?php echo &quot;Hello world!&quot;; ?&gt;&#91;/php&#93;</nowiki></td><td>The <tt>php</tt> tag colors text with php syntax. This is a block level tag, however no tags can be placed inside as they will all be formatted according to php syntax.</td><td><span class="phpcode"><span style="color: #000000"><span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">"Hello&nbsp;world!"</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;</span></span></span></td></tr>
[[Category:Bulletin_Board_Code]]

Revision as of 00:33, 8 May 2010

php
PHP highlighting

[php]<?php echo "Hello world!"; ?>[/php]The php tag colors text with php syntax. This is a block level tag, however no tags can be placed inside as they will all be formatted according to php syntax.<?php echo "Hello world!"?>



Advertisement: