m (Bot: Automated text replacement (-] +])) |
m (Bot: Automated text replacement (- + )) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Wordy bbc | {{Wordy bbc | ||
|tag=php | |tag=php | ||
|example=[php] | |example=[php]<?php echo "Hello world!"; ?>[/php] | ||
|description=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. | |description=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. | ||
|result=<span class="phpcode"><span style="color: #000000"><span style="color: #0000BB"> | |result=<span class="phpcode"><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"Hello world!"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span></span></span> | ||
}} | }} | ||
[[Category:Bulletin_Board_Code]] | [[Category:Bulletin_Board_Code]] |
Latest revision as of 12:06, 1 July 2013
description: 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.
example: [php]<?php echo "Hello world!"; ?>[/php]
result: <?php echo "Hello world!"; ?>