Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Naming of Controllers - any names not allowed?
Post: RE: Naming of Controllers - any names not allowed?

do you want use
3,910 Views
3 Replies
04-30-2019, 08:15 PM
souicp
    Thread: set_update_batch how to plus 1
Post: RE: set_update_batch how to plus 1

php_rocs Wrote: (03-03-2019, 08:36 AM) -- @souicp, Ok, I see what the challenge is.  Normally it would be just view + 1 but because we are doing a batch update and everything is escaped then that ...
7,605 Views
9 Replies
03-05-2019, 02:32 AM
souicp
    Thread: set_update_batch how to plus 1
Post: RE: set_update_batch how to plus 1

php_rocs Wrote: (03-01-2019, 07:34 AM) -- @souicp, When you test the sql directly in MySQL does it work?  What is 'view'?  Is it a field? -- yes, ddl: Code: -- CREATE TABLE `sl_icp` (  `id`...
7,605 Views
9 Replies
03-02-2019, 08:12 PM
souicp
    Thread: set_update_batch how to plus 1
Post: RE: set_update_batch how to plus 1

php_rocs Wrote: (02-28-2019, 06:34 AM) -- @souicp, Can you show the code? What error message did you receive? Also, have you confirmed that the actual query works (if you were to type it out direc...
7,605 Views
9 Replies
02-28-2019, 11:07 PM
souicp
    Thread: set_update_batch how to plus 1
Post: RE: set_update_batch how to plus 1

php_rocs Wrote: (02-27-2019, 08:32 AM) -- @souicp, I really don't see the need to use $this->Test_model->set_update_batch(); The issue may be how you declare 'visit' => '`visit` + 1' in your ar...
7,605 Views
9 Replies
02-28-2019, 12:35 AM
souicp
    Thread: set_update_batch how to plus 1
Post: set_update_batch how to plus 1

PHP Code: -- $data = array( array( 'id' => 5, 'name' => 'test', 'visit' => '`visit` + 1' ), array( 'id' => 7, 'name' => 'wang', 'visit' => '`visit` + 1' ) ); $t...
7,605 Views
9 Replies
02-26-2019, 11:56 PM
souicp

Theme © iAndrew 2016 - Forum software by © MyBB