Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: transaction doesn't work properly
Post: RE: transaction doesn't work properly

skunkbad Wrote: (09-24-2017, 08:24 AM) -- The problem is that since you are using trans_begin instead of trans_start, you are running the transaction manually. When running transactions manually, you...
4,717 Views
6 Replies
09-25-2017, 12:48 AM
vahid.vdn
    Thread: transaction doesn't work properly
Post: RE: transaction doesn't work properly

I must use InnoDB in order to work with transactions!
4,717 Views
6 Replies
09-24-2017, 07:24 AM
vahid.vdn
    Thread: transaction doesn't work properly
Post: transaction doesn't work properly

I'm looking for a case how `transaction` do it's job. In first case I write a `sleep(10000)` between two queries, then turn of the wamp server: PHP Code: -- $this->db->trans_begin(); $q1 = $this-...
4,717 Views
6 Replies
09-24-2017, 07:02 AM
vahid.vdn
    Thread: Codeigniter form validation in config depends on another input
Post: Codeigniter form validation in config depends on a...

I'm using Codeigniter form validation by config (not setting rules manually). What I need, is setting required rule depending on the other field. For example, Imagine we have the following rules: C...
2,784 Views
1 Replies
05-11-2017, 07:24 AM
vahid.vdn
    Thread: Codeigniter share data from pre controller hook
Post: RE: Codeigniter share data from pre controller hoo...

Martin7483 Wrote: (05-01-2017, 04:27 AM) -- If you want to reuse Controller code in multiple Controllers, then create a MY_Controller in ./application/core -- Thanks. Done.
2,820 Views
2 Replies
05-01-2017, 06:56 AM
vahid.vdn
    Thread: Codeigniter share data from pre controller hook
Post: Codeigniter share data from pre controller hook

I want to do the similar job in controllers constructors. So I don't want to repeat it in each controller. Instead, I want to write it once in hook. It works fine in post_controller_constructor hoo...
2,820 Views
2 Replies
05-01-2017, 02:06 AM
vahid.vdn

Theme © iAndrew 2016 - Forum software by © MyBB