/** * Prepares a mysql statement. It is to be executed. * * @param string $sql The unbound SQL string. * * @return AMysql_Statement A new statement instance. **/ public function prepare($sql) { $stmt = new AMysql_Statement($this); $stmt->prepare($sql); return $stmt; }