When I click on one smilie (undecided.gif , code

) in shoutbox and click send then I get this error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''

')' at line 3
Data: /home/dunavins/public_html/Sources/EzPortal2.php
Line: 2843
Sorry for my bad english,i am from Serbia.Thanks in advance
