Thanks John! Sorry to pester you any more, but how can I match all Ascii
characters? I can't seem to find it on
'http://www.php.net/manual/en/pcre.pattern.syntax.php'
(The period is matching Ascii characters and giving me this)
Unexpected character in input: ' ' (ASCII=23) state=2
Also how many a
I cant find a way to properly escape the special characters for php code
evaluation (iam sure its something simple) Can some one point this out?
[errors generated]
Parse error: parse error, unexpected ']'
Fatal error: Failed evaluating code: $color[!]
[function containing error]
function HTMLfrom
This should work (as far as I can tell) But yields the following error.
Parse error: parse error, unexpected T_CHARACTER, expecting T_STRING or
T_VARIABLE or T_NUM_STRING
Any help is appreciated!
function HTMLfromNickName ( $player ) {
//example input "^2pla^3yer"
$color=array(
"1"=>"#FF00
3 matches
Mail list logo