This example quotes a string, then puts it in a connection string.
Note that the string is quoted, and the ending quote character in
the middle of the string has been escaped.
<?php
$value = odbc_connection_string_quote("foo}bar");
$connection_string = "DSN=PHP;UserValue=$value";
echo $connection_string;
?>
The above example will output
something similar to:
DSN=PHP;UserValue={foo}}bar}