Search Results
Post Author Forum Replies Views Posted [asc]
    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 = 'ac...
durairaj General Help 1 315 02-23-2021, 04:14 AM
    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`.`custome...
durairaj General Help 1 315 02-23-2021, 12:38 AM
    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 sc...
durairaj CodeIgniter 3.x 1 1,024 04-08-2020, 10:31 PM
    Thread: How to Switch Database Connection Mysqli or Postgres ??
Post: RE: How to Switch Database Connection Mysqli or Po...

(12-13-2019, 02:53 AM)Geetha Wrote: 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 loaded ?? F...
durairaj CodeIgniter 3.x 2 1,447 12-13-2019, 04:51 AM
    Thread: Unable to save the image.
Post: RE: Unable to save the image.

(11-07-2019, 09:34 AM)aparedesv Wrote: Hi, the public/assets/img/equips/ have 777 permisions, but show a error: Unable to save the image. SYSTEMPATH/Images/Exceptions/ImageException.php at line 30...
durairaj CodeIgniter 4 Support 3 1,229 11-07-2019, 10:42 PM
    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()....
durairaj CodeIgniter 4 Discussion 1 782 11-07-2019, 05:39 AM
    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->reques...
durairaj CodeIgniter 4 Support 12 10,386 11-07-2019, 05:27 AM
    Thread: Image not showing in codeigniter 4
Post: RE: Image not showing in codeigniter 4

(11-06-2019, 11:30 PM)John_Betong Wrote: 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 thi...
durairaj CodeIgniter 4 Support 12 10,386 11-07-2019, 12:23 AM
    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 n...
durairaj CodeIgniter 4 Support 12 10,386 11-06-2019, 11:17 PM
    Thread: Image not showing in codeigniter 4
Post: RE: Image not showing in codeigniter 4

(11-06-2019, 06:40 PM)John_Betong Wrote: 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 rel...
durairaj CodeIgniter 4 Support 12 10,386 11-06-2019, 09:54 PM
    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()->t...
durairaj CodeIgniter 4 Discussion 1 782 11-06-2019, 03:16 AM
    Thread: Image not showing in codeigniter 4
Post: Image not showing in codeigniter 4

<img src="<?=WRITEPATH.$value->avatar?>"> this image not displaying but when i open D:\xampp\htdocs\apptsys\writable\uploads/avatar\avatar_1.jpg link on browser image showing. Af...
durairaj CodeIgniter 4 Support 12 10,386 11-06-2019, 12:19 AM
    Thread: How to upload image in codeigniter 4
Post: RE: How to upload image in codeigniter 4

(11-05-2019, 06:01 PM)InsiteFX Wrote: Read this: Ajax Form Submit examples using jQueryThanks man this helped me lot
durairaj CodeIgniter 4 Support 4 2,789 11-05-2019, 10:52 PM
    Thread: How to upload image in codeigniter 4
Post: RE: How to upload image in codeigniter 4

(11-05-2019, 05:56 PM)donpwinston Wrote: I think this is messed up: url        : '<?=site_url( 'public/home/add_user' );?>', doc root is 'public'. url should be '/home/add_user' where Home i...
durairaj CodeIgniter 4 Support 4 2,789 11-05-2019, 10:32 PM
    Thread: How to upload image in codeigniter 4
Post: How to upload image in codeigniter 4

Pls. help; //view <?=form_open_multipart( '', 'class="user_form" id="user_form"' ) ?> <div class="form-group">             <label for="avatar"> Avatar </label>             <...
durairaj CodeIgniter 4 Support 4 2,789 11-05-2019, 08:10 AM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.