• Log in or sign up for an account here: https://www.sythe.org/login

What does PHP do?

  • Thread starter Thread starter Inventor
  • Start date Start date
I

Inventor

Guest
I see PHP tags in vbull and I have no idea what they do.

I'm not sure if this is a programming question or what but I'm sure people here would know.

If anyone has the answer, please pm it to me.

Thanks,
Ethan
 
it's the same as code, but the code you place in it is colored, like an editor - but you can't edit it.

Code:
<?php
echo date("Y/m/d") . "<br />";
echo date("Y.m.d") . "<br />";
echo date("Y-m-d")
?>

PHP:
<?php
echo date("Y/m/d") . "<br />";
echo date("Y.m.d") . "<br />";
echo date("Y-m-d")
?>

tada
 
Well, on any other forum (where they are colored correctly and don't screw wtih your eyes) it makes it easier to read... At least I think so.
 
PHP (hypertext preprocessor), as you may know, is a scripting language used to run tons of online sites, including this very forum itself. The
PHP:
 tag is used to highlight the syntax of the scripting language itself.

For example:
Strings are highlighted in red:
[PHP]"string"

Functions in blue:
PHP:
echo data()

It just makes it easier to interpret when you're programming in it and posting your code on the forums to share with others.
 
<3 n4n0
Discord Verified
Two Factor Authentication User
Community Participant
Spam Forum Participant
Sythe's 10th Anniversary
Sythe Awards 2011 Winner
Its supposed to make them easier to read... So you can pick parts out of the code very quickly... But with the dark blue background... It kinda fucks it up... >_>.
 
sad.gif
:(
 
<3 n4n0
Discord Verified
Two Factor Authentication User
Community Participant
Spam Forum Participant
Sythe's 10th Anniversary
Sythe Awards 2011 Winner
Runescape Gamblingrunescape gambling
Back
Top