Welcome Guest, Not a member yet? Register   Sign In
DB Create - Execute SQL Command
#2

[eluser]cideveloper[/eluser]
you dont need to use database forge if you just want to run sql

This worked for me

Code:
$query = $this->db->query("CREATE TABLE test (id INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,name VARCHAR(255));");


Messages In This Thread
DB Create - Execute SQL Command - by El Forum - 01-13-2011, 08:59 PM
DB Create - Execute SQL Command - by El Forum - 01-13-2011, 09:12 PM
DB Create - Execute SQL Command - by El Forum - 01-13-2011, 09:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB