All - 

I am trying to execute an odbc_exec ($sql) command.  A code example
is shown below:

$description = "Chris's Place";
$sql = "UPDATE SEARCH_RECORDS SET DESCRIPTION=\"".$description."\"";

// CX is already defined as a datbase connection
$stmt = odbc_prepare(CX, $sql);
if (odbc_execute($stmt)) { echo "Successful.": } else { echo
"Unsuccessful."; }

Why does the command:

UPDATE SEARCH_RECORDS SET DESCRIPTION="Chris's Page" 

fail?

Thanks
Chris

PS -- Using a microsoft access 1997 database.

-- 
PHP Windows 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