note 123183 deleted from pdostatement.bindcolumn by cmb

From: Date: Wed, 30 Sep 2020 09:35:25 +0000
Subject: note 123183 deleted from pdostatement.bindcolumn by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215481@lists.php.net to get a copy of this message
Note Submitter: emmanuel dot delahaye at gmail dot com ---- Hello, it is important to keep in mind that in any SQL query, the names of the columns should be surrounded by reverse quotes (`). <?php $sql = "SELECT col1, col2 FROM table"; ?> To prevent any confusion with SQL reserved words. For example, I have had a column called 'key' and it has been a hard time to fix the bug. Since I have used key, it's fine.

« previous php.notes (#215481) next »