How to store in the db an ' caract.

wxdqz

New Member
How to store in the db an ' caract.

I tried:

$query_insert = "insert into event(ev_desc) values "."(".$desc_nl2br.")";
$result = odbc_exec($connect, $query_insert);

Still:

SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error in string in query expression 'sdf\'sdf)'., SQL state 37000 in SQLExecDirect in C:\Inetpub...php3
 
Back
Top