PHP 8.5.0 Beta 1 available for testing

Voting

: min(three, seven)?
(Example: nine)

The Note You're Voting On

scottmweaver
18 years ago
Hey guys,

I used the following code to run normal double quotes inside my SQL queries. Hopefully this will save someone else a headache or two-

<?php

/**
* Query Function
* Allows quoted queries to be sent to SQL
*/

function query($query, $conn)
{
odbc_do($conn, 'SET QUOTED_IDENTIFIER OFF');
return
odbc_do($conn, $query);
}
?>

<< Back to user notes page

To Top