Function: db_execute_query

The sql is: SELECT * FROM `attorneys` WHERE id =

General error executing query. The error is:

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

Function: db_execute_query

The sql is: SELECT title from titles WHERE id = Y

General error executing query. The error is:

Unknown column 'Y' in 'where clause'