Monday, May 24, 2010

Setting a vriable in php to a special character?

how can I set a variable in php to be a special character?

Setting a vriable in php to a special character?
$str=chr(27);





chr(charcode)





this would be an escape char, I am assuming you mean non printable chars.





You can search for ASCII charts to show a list of all character codes.
Reply:$var = "#"; //this kind of special character?


No comments:

Post a Comment