Welcome Guest, Not a member yet? Register   Sign In
MySQL-Problem
#1

[eluser]Unknown[/eluser]
Hy

I’m a CodeIgniter-Beginner and had my first problem.
When I do a simple INSERT I get this error:

A Database Error Occurred
Error Number: 1064

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 'ÊÊÊÊÊÊÊÊVALUES ('', '', 'Hoi ')' at line 2

INSERT INTO tasks (id, order_no, description) ÊÊÊÊÊÊÊÊVALUES ('', '', 'Hoi ')


From where I get this Ê-Symbols?

Thank you
#2

[eluser]pistolPete[/eluser]
What data are you trying to insert?
It seems to be a encoding problem, be sure to set the following settings according to your database / server environment:
Code:
$config['charset'] = ?
$db['default']['char_set'] = ?
$db['default']['dbcollat'] = ?
Also have a look at your HTML and see which encoding you use there.




Theme © iAndrew 2016 - Forum software by © MyBB