
January 24th, 2003, 02:14 PM
|
|
Junior Member
|
|
Join Date: Jan 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
escaping characters in access through php
I am trying to insert data into a remote ms access database. it will be text from a field within a form. however i am not sure if i am escaping all the correct characters. I am using the odbc socket server from this article
URL
All code is php
I am escaping single quotes like this:
PHP Code:
$form_text = str_replace("'", "''",$comments);
I can figure out how to escape double quotes or how insert ascii characters
If anyone has any ideas please let me know.
Thanks
|