mysqli

Why is PHP mysqli prepared statement working but inserting all NULL values?

What would cause this? Code follows: $m = new mysqli($host,$user,$pass,$db); if(mysqli_connect_errno()) die('Connect failed: ' . mysqli_connect_error()); $PrepSQL = "INSERT INTO Products (" . implode(',',$this->cols) . ") VALUES ("; $PrepSQL .= '?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"; $stmt ...

ebook with mysqli prepared statement

Have somebody some info about ebook witch cover mysqli and prepared statement ... I want it for print not online tutorial... ...

How can you run a mysqli query with CodeIgniter?

Hello guys, Does anyone have a clue how to run a mysqli query with CI. I did change the db driver in the config file, but I'm still unable to use multiple queries like $sql = "SELECT * FROM c WHERE 1; DROP TABLE IF EXISTS c;" $query = $this->db->query($sql); Anyone has any clue how to do this using only CI, no additional libr...