Welcome Guest, Not a member yet? Register   Sign In
Call Procedure in CodeIgniter
#3

[eluser]super_Tai[/eluser]
[quote author="marjune" date="1308324818"]before calling your procedure just try this first
Code:
$query = $this->db->query(“SELECT * FROM data”)
$query->result();
echo result->fieldname;

then whats the result?[/quote]


I tried this, it worked well but when I call store procedure it had an error:


" Unable to select the specified database: blog

Filename: C:\xampp\htdocs\CodeIgniter\system\database\DB_driver.php

Line Number: 140 "

although i don't change anything from file DB_driver.php


Messages In This Thread
Call Procedure in CodeIgniter - by El Forum - 06-17-2011, 01:59 AM
Call Procedure in CodeIgniter - by El Forum - 06-17-2011, 04:33 AM
Call Procedure in CodeIgniter - by El Forum - 06-17-2011, 04:56 AM
Call Procedure in CodeIgniter - by El Forum - 06-17-2011, 05:35 AM
Call Procedure in CodeIgniter - by El Forum - 06-17-2011, 05:48 AM
Call Procedure in CodeIgniter - by El Forum - 06-17-2011, 06:04 AM
Call Procedure in CodeIgniter - by El Forum - 06-17-2011, 09:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB