> jared, i fail to understand your "contribution" to the real > subject ("do we need a colon in from of every bound variable or not").
I was pointing out your design was flawed. Which if was made more secure, like the following, the colons become less of an issue. $db->insert('some_table', array(':name' => $name, ':age' => $age)); class ... { protected $tableInserts = array( 'some_table' => 'INSERT INTO some_table VALUES(:name, :age)' ); function insert($table, $values) { if (isset($this->tableInserts[$table])) { $stmt = $this->prepareStatement($this->tableInserts[$table]); $stmt->execute($values); } else { ... Error... } } } -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php