Questions tagged as 'codeigniter'

2
answers

Show Selected text Select an option

Very good and tried to put in a selected control the option "Select an option" but it does not work for me, the combo is loading data from the database, I'm using the codeigniter framework, I would like someone to guide me in it to be able to lo...
asked by 18.08.2016 / 17:39
1
answer

Doubt with the syntax in CodeIgniter

I'm following this codigofacilito tutorial on Youtube: link I try to do the form, but it does not appear on screen, and it is due to the fact that in the video they use a syntax very different from php, which I copy but it does not work...
asked by 22.08.2016 / 22:47
1
answer

Pass a string with Datetime format to PHP time

I want to pass the content I have in an input with% co_from% to time, I tried it with strtotime but it does not give me the expected result. $fecha = strtotime($this->input->post("fecha")); It returns "0" when I want it to return the...
asked by 14.06.2016 / 11:18
1
answer

Create a new table if the date is not the same

I'm going through a foreach and the data I load into a table, but I want to load the data in different table views depending on the fecha example if the variable fecha='11-11-2017' there are 3 fields that load that data there and i...
asked by 28.06.2018 / 19:37
1
answer

unexpected '-' (T_OBJECT_OPERATOR) when inserting

I use php and codeigniter, I try to enter data and I get this: An uncaught Exception was encountered Type: ParseError Message: syntax error, unexpected '->' (T_OBJECT_OPERATOR) Filename: C:\xampp3\htdocs\CesdeCodeIgniter\application\model...
asked by 05.10.2018 / 06:29
2
answers

Plesk, forbidden 403 when loading css and js (nginx)

I have a server with PLESK mounted, in which I have a subdomain app.mysite.com created and running with nginx. In this subdomain, I have uploaded my website that is developed in codeigniter. This is the structure of the project: When...
asked by 27.05.2018 / 12:38
2
answers

How to hide the driver in the url with codeigniter?

I do not know how to hide the controller name and its function in the url of my website. I have several controladores , one of them is blog , which is the controlador por defecto set in the file routes.php . $route[...
asked by 02.10.2017 / 11:08
2
answers

Send a variable to the controller from AJAX in CodeIgniter [duplicated]

I have the following problem, in a view I get the data of a user through a foreach and one of them is the code, which through a link, I execute a function that passed the same code as parameter: <a href="" onclick="cargarID(<?=...
asked by 20.12.2016 / 23:50
2
answers

Fix PHP date problem (CODEIGNITER)

In a controller I am sending 3 parameters to a model so that the boolean responds, and it always pulls out false, I have done tests so that the model returns what it is receiving and this is what it throws at me .. ["SE INGRESAN 10 NUEVOS PR...
asked by 01.03.2017 / 22:03
3
answers

How can I fix this error in Codeigniter HMVC

Someone could help me with this error in Codeigniter 3.0.6 with the HMVC, apparently it does not detect the driver inside the module. These are my code lines. config.php $config['base_url'] = 'http://web.com/project/'; $config['index_page']...
asked by 22.06.2016 / 00:03