PHP.nl

odbc_connection_string_is_quoted

odbc_connection_string_is_quoted

Determines if an ODBC connection string value is quoted

bool **odbc_connection_string_is_quoted** string $str

Determines if a string is properly quoted for an ODBC connection string value. ODBC connection string quoting is performed using curly braces, and ending braces within a string must be escaped through repeating them twice, similar to SQL quoting.

strThe string to check for quoting.

true if quoted properly, false if not.

odbc_connection_string_quote``odbc_connection_string_should_quote