I'm kinda rookie here, but i rekon you'd have to double escape the
escape char like:

 'select * from $table where primary-key=\'1\\' '

and maybe replace the single quotes ' ' with double quotes " "

I couldn't test this because I got my web/php server down.

Markus Wagner wrote:

> Hi there,
> can anyone tell me, how I have to handle special characters in an
> odbc-query?
> for example: 'select * from $table where primary-key=\'1\' ' doesn't
> work because of the dash in primary-key
> Thx
> Kobi

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to