Jump to content
Sign in to follow this  
kupcho

What is "PHP Code" and how is it used?

Recommended Posts

First I need to tell you all that I'm one of the "older" generation. I'm not a computer programmer of any kind...I just like to play PC games and script some basic missions in ARMA3.

While looking around this forum, posting questions and reading others, I've seen a LOT of folks talking about "PHP Code". I've even had some people who are answering some of my questions bring it up, but...

I have NO IDEA what it is or how it's used. :confused:

Will somebody please tell me something (ANYTHING) about it.

Is there a place I can go to read up on it?

Is it something used in....an INIT field? The sqf document?

Really. I don't know a thing about it and I hate that fact.

It seems as though it's something I should have SOME kind of knowledge of, but I wouldn't know where to start.

Thanks to anyone willing to give an old dude some help.

Share this post


Link to post
Share on other sites

It's simply a forum tag that we put around normal text/code to add some color differences in different commands/data types, it's absolutley unrelated to anything.

Share this post


Link to post
Share on other sites
First I need to tell you all that I'm one of the "older" generation. I'm not a computer programmer of any kind...I just like to play PC games and script some basic missions in ARMA3.

While looking around this forum, posting questions and reading others, I've seen a LOT of folks talking about "PHP Code". I've even had some people who are answering some of my questions bring it up, but...

I have NO IDEA what it is or how it's used. :confused:

Will somebody please tell me something (ANYTHING) about it.

Is there a place I can go to read up on it?

Is it something used in....an INIT field? The sqf document?

Really. I don't know a thing about it and I hate that fact.

It seems as though it's something I should have SOME kind of knowledge of, but I wouldn't know where to start.

Thanks to anyone willing to give an old dude some help.

PHP code is a code highlighter for PHP, has nothing to do with SQF, we use it because it is better than have no highlighter at all ...and because Dwarden is lazy :)

Share this post


Link to post
Share on other sites
...and because Dwarden is lazy :)
:D hehe

but yer wheres our forum SQF highlighter with code command linkage into the wiki ;) (see Unity3D forum they have it sorted)

example..

{
[url="https://community.bistudio.com/wiki/if"][color="#0000FF"]if[/color][/url] ( [color="#800080"]![/color][url="https://community.bistudio.com/wiki/alive"][color="#FF0000"]alive[/color][/url] [color="#FF8C00"]_x[/color] ) [url="https://community.bistudio.com/wiki/then"][color="#0000FF"]then[/color][/url] {
	[url="https://community.bistudio.com/wiki/hintSilent"][color="#FF0000"]hintSilent[/color][/url][url="https://community.bistudio.com/wiki/format"] [color="#FF0000"]format[/color][/url][ [color="#808080"]"His name was %1"[/color], [url="https://community.bistudio.com/wiki/name"][color="#FF0000"]name[/color][/url] [color="#FF8C00"]_x[/color] ];
}; 
}[url="https://community.bistudio.com/wiki/forEach"][color="#0000FF"]forEach[/color][/url] ( [url="https://community.bistudio.com/wiki/units"][color="#FF0000"]units[/color][/url] [url="https://community.bistudio.com/wiki/player"][color="#FF8C00"]player[/color][/url] );

Edited by Larrow

Share this post


Link to post
Share on other sites

Well alrighty then...

And I thought it was some kind of arcane programming stuff.

Thanks for the info m'frends.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×