Hi! I’m tyring to get this simple array to output a link in a chat I made.
The chat works fine, but every time I enter a url, the html comes out like this.
<a target="_blank" href="http://Sample url">Sample url</a>sample url
here’s the php code.
[php]
$smile = array(
$input = $_REQUEST[“input”];
‘http://’ => ‘<a target="_blank" href="’. $input. ‘. "’. ‘>’. $input. ‘’,
);
[/php]