Thread: Shoutbox error
View Single Post
  #4  
Old 10th November 2013, 07:59
farkas124 farkas124 is offline
Member
 
Join Date: Jul 2011
Hungary
Posts: 3
Default
Quote:
Originally Posted by firefly007 View Post
Not hundred percent sure about what you asking but it sound like you need to escape to allow the characters.

example!

Code:
mysql_query("INSERT INTO shoutbox (uid, dt, txt) VALUES ('" . $uid . "','" . $date . "','" . real_escape_string($txt) . "')");

how to use this?

Bump:
Quote:
Originally Posted by DeNeDe View Post
or maybe he is talking about chars in another language.
so for that, it's best to use the utf-8 charset, in sql and site.
Charset utf-8 does not solve the problem.
Reply With Quote