you can use libcod functions from anywhere in scripts.
do you mean PHP /PHP tags? in these tags, the code looks more attractive and readable
code like this
put your code in [php] [ /php] (without first space in last tag)PHP Code:
/* hello guys */
spawnPlayer()
{
}