I am using PHP with PostgreSQL (PDO) and I am wondering is there a way to not have to wrap my SQL statement columns in double quotation marks when making a call? For example, I have the following code that retrieves the column name needed
$columnname = $_GET["columname"];
but since PostgreSQL requires a column to be inside a double quotation mark, I then have to modify the code to the following
$columnname = '"' . $_GET["columname"] . '"';