Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to use case statement instead of if statement in codeigniter
Post: RE: How to use case statement instead of if statem...

Wouter60 Wrote: (10-28-2016, 05:43 AM) -- Using switch: PHP Code: --
16,478 Views
5 Replies
10-28-2016, 06:40 AM
Bright
    Thread: How to use case statement instead of if statement in codeigniter
Post: RE: How to use case statement instead of if statem...

salain Wrote: (10-28-2016, 04:17 AM) -- You would get more help by specifying what the problem is. CodeIgniter is written in PHP, so look here (http://php.net/manual/en/control-structures.switch.p...
16,478 Views
5 Replies
10-28-2016, 04:33 AM
Bright
    Thread: How to use case statement instead of if statement in codeigniter
Post: How to use case statement instead of if statement ...

I have a code below which seems not to be working so I would want to try case statement instead Code: --                    
16,478 Views
5 Replies
10-28-2016, 02:50 AM
Bright
    Thread: Checking if a user has submitted an approval with if statements
Post: RE: Checking if a user has submitted an approval w...

InsiteFX Wrote: (10-27-2016, 11:28 AM) -- Please use code tags to wrap your code in, the way it is now makes it very hard for someone to read it. [ code] // your code here! [ /code] Please re...
6,735 Views
3 Replies
10-28-2016, 12:58 AM
Bright
    Thread: Inserting data in a column with condition
Post: RE: Inserting data in a column with condition

enlivenapp Wrote: (10-27-2016, 08:50 PM) -- So what's your question? and to save time... what's the error? -- I have changed to this Code: --   public function approve($id, $data) { public fun...
3,879 Views
2 Replies
10-28-2016, 12:48 AM
Bright
    Thread: Checking if a user has submitted an approval with if statements
Post: Checking if a user has submitted an approval with ...

Is a user has composed a message, other users be able to should approve the message but the message Author should only delete and edit not approve. The below if statement is supposed to work for that ...
6,735 Views
3 Replies
10-27-2016, 06:27 AM
Bright
  Question Thread: Inserting data in a column with condition
Post: Inserting data in a column with condition

When on of the admin clicks an approve button its supposed to add the user_id of the person approving to a field in approval table  This is the button   Code: --    
3,879 Views
2 Replies
10-26-2016, 05:21 AM
Bright

Theme © iAndrew 2016 - Forum software by © MyBB