Dismounted
59.***.***.***
PHP Code Tags
I think many people don't know about these tags, but a few may. The tag is
and should be used more often for posted PHP code. It parses the PHP code clearly in different colours.
Example:
[php]<?php
$age = $_POST['age'];
echo ("Your age is " . $age . " .");
?>
That does come through more clearly. I'm guilty of using [code], but I will change my ways henceforth. :D
Dismounted
59.***.***.***
It looks more like coding in Dreamweaver and Frontpage which newcomers to PHP will enjoy. Also very easy to read when using the tags. :)
penguinmama
12.***.***.***
Wow, that makes it MUCH more readable!! I use alleycode for quick edits and it color-codes like that, too.
Darkneoboi
68.***.***.***
I have seen people use that before but i wasn't sure how to do it. It really does help the text be more readable. Thank you for the info.
Dismounted
59.***.***.***
Also, I forgot to mention, There are HTML code tags too, they are
:).
For Example;
[html]<html>
<head>
<title>Test Page</title>
</head>
<body>
<p>Check out the HTML Code tags!</p>
</body>
</html>
Dismounted;125:
I think many people don't know about these tags, but a few may. The tag is
and should be used more often for posted PHP code. It parses the PHP code clearly in different colours.
Example:
[php]<?php
$age = $_POST['age'];
echo ("Your age is " . $age . " .");
?>
That is a good approach of coding technique and declaring variable .
We should also use some easy and approachable techniques to let things simplify to maintain after building !