Topic: Troubles adding emoticons
I began editing parser.php and adding the new emoticons...
Here is the full emoticon code line:
$smilies = array(':)' => 'smile.png', '=)' => 'smile.png', ':|' => 'neutral.png', '=|' => 'neutral.png', ':(' => 'sad.png', '=(' => 'sad.png', ':D' => 'big_smile.png', '=D' => 'big_smile.png', ':o' => 'yikes.png', ':O' => 'yikes.png', ';)' => 'wink.png', ':/' => 'hmm.png', ':P' => 'tongue.png', ':p' => 'tongue.png', ':lol:' => 'lol.png', ':mad:' => 'mad.png', ':rolleyes:' => 'roll.png', ':cool:' => 'cool.png' ':'(' => 'cry.gif', ':s' => 's.gif', ':$' => 'dollars.gif', ':@' => 'angry.png' '(h)' => 'hot.gif' 'o.O' => 'o.o.gif' 'O.O' => 'O.Obig.gif' ':woot:' => 'w00t.gif' ':doh:' => 'doh.gif' ':yayy:' => 'yayy.gif' ':argh:' => 'bangg.gif' ':nooo:' => 'nooo.gif' ':grrchear:' => 'cheeranyhow.gif');
At every topic I get now:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/juniorvi/public_html/forum/include/parser.php on line 23
How to make the smilies work?