Codeigniter HMVC Error Ajax from folder outside from application

175
February 20, 2019, at 6:50 PM

i have this structure

  • aplication
    • controllers
    • modules
    • any modules from proyect
  • themes
    • default
    • view
    • modules
    • landing
      • search_in_model.php ( ajax.... url: "< ? php echo base_url('Suggestions/hotelbedsHotels'); ? > ", )

this ajax get a 404 error..

I think it calls application/controllers but I understand that in HMVC I have to call a module?

my question is .. Can I call application/controlles for frontend and for backend call your module ..?

Thanks..

Rent Charter Buses Company
READ ALSO
Null values inserted in database table using php pdo

Null values inserted in database table using php pdo

I made a PHP interface for teacher tableAll columns in table is set to NOT NULL

182
PHP SESSION handling - invalid values

PHP SESSION handling - invalid values

We need to make use of session_write_close() inside a lot of existing codesBut this looks dangerous to us, because PHP does the following - without giving any warning or error:

153
Google Tasks API: how to get the completed tasks in a tasklist?

Google Tasks API: how to get the completed tasks in a tasklist?

How to get the completed tasks in a tasklist? I have tried the following:

252
PHPSpreadsheet - How do create text that is red colored?

PHPSpreadsheet - How do create text that is red colored?

I use the next line to color a cell red:

367