Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: how to catch db error
Post: RE: how to catch db error

Is there an easier way? why ci function cannot detected if there is a query error
27,948 Views
8 Replies
10-15-2019, 08:28 PM
amansusanto
    Thread: how to catch db error
Post: RE: how to catch db error

InsiteFX Wrote: (10-14-2019, 04:21 AM) -- A better way would be to create a separate table for holding the last id's. table last_id blue_id yellow_id green_id When you create the users recor...
27,948 Views
8 Replies
10-14-2019, 04:42 AM
amansusanto
    Thread: how to catch db error
Post: RE: how to catch db error

not working in controller : $check=false; while (!$check) {          $no = $this->m_home->getLastId($grp);          $data = array(             'no' => $no,             'usergroup' => $group,...
27,948 Views
8 Replies
10-13-2019, 07:26 PM
amansusanto
    Thread: how to catch db error
Post: how to catch db error

i have insert new row to table in same time  ( 10 users ) my primary key is determined from user input with in 3 groups Blue Yellow Green if user select Blue ID must be B001, B002 Yellow Y...
27,948 Views
8 Replies
10-11-2019, 07:33 PM
amansusanto
    Thread: Database Connection
Post: RE: Database Connection

Done.. the problem is ODBC Driver to Sql Server
4,738 Views
6 Replies
04-22-2019, 12:08 AM
amansusanto
    Thread: Database Connection
Post: RE: Database Connection

the problem is not in database because my application running well the problem is when i copy to another computer
4,738 Views
6 Replies
04-21-2019, 10:43 PM
amansusanto
    Thread: Database Connection
Post: RE: Database Connection

i have tried nothing change. my php version 7.3.2 xampp 3.2.2
4,738 Views
6 Replies
04-21-2019, 08:27 PM
amansusanto
    Thread: Database Connection
Post: Database Connection

4,738 Views
6 Replies
04-21-2019, 08:01 PM
amansusanto
    Thread: Codeigniter Query
Post: RE: Codeigniter Query

php_rocs Wrote: (04-06-2019, 12:23 PM) -- @amansusanto, What errors are you seeing? Also, I wouldn't do you query like that.  You could open yourself up to sql injections.  I would use this the qu...
2,679 Views
2 Replies
04-07-2019, 07:39 PM
amansusanto
    Thread: Codeigniter Query
Post: Codeigniter Query

i have problem to saving data this is my Model i use Sql Server Database   function UpdateEdit($data)   {      $this->db->trans_start();      $sql = " update [do] set customer='" . $da...
2,679 Views
2 Replies
04-06-2019, 03:00 AM
amansusanto

Theme © iAndrew 2016 - Forum software by © MyBB