const EMOJI = [
":lol" => "http://localhost/chat/emoji/0046.gif",
":D" => "http://localhost/chat/emoji/0055.gif"
]
i want to use
EMOJI[:lol]
in src can anybody tell me how should i use it ?
case ":lol":
echo "<img src='EMOJI[:lol]' width='32' height='32'>";
break;