Welcome Guest, Not a member yet? Register   Sign In
How can you run an mysqli query?
#1

[eluser]radu.v.valentin[/eluser]
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

Code:
$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 libraries, because theoretically CI supports mysqli.

Thanks


Messages In This Thread
How can you run an mysqli query? - by El Forum - 10-30-2010, 08:29 AM
How can you run an mysqli query? - by El Forum - 10-30-2010, 01:00 PM
How can you run an mysqli query? - by El Forum - 10-30-2010, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB