Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: codeigniter join
Post: RE: codeigniter join

$person_interest = "( SELECT pi.person_id, pi.payment_id, pi.person_interest_id, pi.paid_interest FROM person_interest as pi JOIN payment as p ON p.payment_id = pi.payment_id WHERE pi.status = 'active...
1,030 Views
1 Replies
02-23-2021, 04:14 AM
durairaj
    Thread: codeigniter join
Post: codeigniter join

Code: -- SELECT `payment`.* FROM `payment` LEFT JOIN `people` as `P` ON `P`.`id` = `payment`.`customer_id` and ( `payment`.`customer_type` = 'P' or `payment`.`customer_type` = 'CP' or `payment`.`cu...
1,030 Views
1 Replies
02-23-2021, 12:38 AM
durairaj
    Thread: routes in ci shows white blank screen
Post: routes in ci shows white blank screen

$route[ 'courses' ] = 'courses';     $route[ 'courses/(:any)' ] = 'university/courses/$1';     above open  on project/courses/new     but not open project/courses  will show white blank screen;   ...
1,936 Views
1 Replies
04-08-2020, 10:31 PM
durairaj
    Thread: How to Switch Database Connection Mysqli or Postgres ??
Post: RE: How to Switch Database Connection Mysqli or Po...

Geetha Wrote: (12-13-2019, 02:53 AM) -- Hi, I need to Connect Mysqli Or Postgres in Database Connection.I need to Connect Both are default Option how done ?? We can find driver When query loade...
2,638 Views
2 Replies
12-13-2019, 04:51 AM
durairaj
    Thread: Unable to save the image.
Post: RE: Unable to save the image.

aparedesv Wrote: (11-07-2019, 09:34 AM) -- Hi, the public/assets/img/equips/ have 777 permisions, but show a error: Unable to save the image. SYSTEMPATH/Images/Exceptions/ImageException.php at...
3,700 Views
3 Replies
11-07-2019, 10:42 PM
durairaj
    Thread: could not redirect page when no session
Post: RE: could not redirect page when no session

// home controller function user() { if( $this->session->has( 'id' ) ) { $tmp = view( 'user/index' ); $this->template( $tmp );}else { return redirect()->to( site_url().'public/login' ); }} ...
1,900 Views
1 Replies
11-07-2019, 05:39 AM
durairaj
    Thread: Image not showing in codeigniter 4
Post: RE: Image not showing in codeigniter 4

working code // created assets/avatar directory in public //Controller in add function use CodeIgniter\Files\File; // use above the class. function add() { $file = new File( $this->request->ge...
27,163 Views
12 Replies
11-07-2019, 05:27 AM
durairaj
    Thread: Image not showing in codeigniter 4
Post: RE: Image not showing in codeigniter 4

John_Betong Wrote: (11-06-2019, 11:30 PM) -- Try this: 1. index.php -> echo $PATH = getcwd(); die; 2. make a note of the $PATH; 3. create this folder: $PATH .'\assets\avatar' 4. save this avatar...
27,163 Views
12 Replies
11-07-2019, 12:23 AM
durairaj
    Thread: Image not showing in codeigniter 4
Post: RE: Image not showing in codeigniter 4

This is not working ,i don't know how to store images in public folder, $avatar->move( base_url().'/public/assets/avatar', $name ); this popped with index.html not found on directory. i'm not able to...
27,163 Views
12 Replies
11-06-2019, 11:17 PM
durairaj
    Thread: Image not showing in codeigniter 4
Post: RE: Image not showing in codeigniter 4

John_Betong Wrote: (11-06-2019, 06:40 PM) -- I would hard a guess and think the image is being called from the public folder... If so and you really want to use the WRITEPATH folder then try using s ...
27,163 Views
12 Replies
11-06-2019, 09:54 PM
durairaj
    Thread: could not redirect page when no session
Post: could not redirect page when no session

//helper function  function check_session_set() {         $session      = \Config\Services::session();     if( $session->has( 'id' ) ) {}     else {     echo 'test';     redirect()->to('pub...
1,900 Views
1 Replies
11-06-2019, 03:16 AM
durairaj
    Thread: Image not showing in codeigniter 4
Post: Image not showing in codeigniter 4

27,163 Views
12 Replies
11-06-2019, 12:19 AM
durairaj
    Thread: How to upload image in codeigniter 4
Post: RE: How to upload image in codeigniter 4

InsiteFX Wrote: (11-05-2019, 06:01 PM) -- Read this: Ajax Form Submit examples using jQuery (https://www.sanwebe.com/2016/07/ajax-form-submit-examples-using-jquery) -- Thanks man this helped me lot
5,406 Views
4 Replies
11-05-2019, 10:52 PM
durairaj
    Thread: How to upload image in codeigniter 4
Post: RE: How to upload image in codeigniter 4

donpwinston Wrote: (11-05-2019, 05:56 PM) -- I think this is messed up: url        : '', doc root is 'public'. url should be '/home/add_user' where Home is the controller class. You don't need t...
5,406 Views
4 Replies
11-05-2019, 10:32 PM
durairaj
    Thread: How to upload image in codeigniter 4
Post: How to upload image in codeigniter 4

Pls. help; //view
5,406 Views
4 Replies
11-05-2019, 08:10 AM
durairaj

Theme © iAndrew 2016 - Forum software by © MyBB