Questions tagged as 'crud'

1
answer

Update does nothing

Use CodeIgniter and PHP. When doing an Update, no message is displayed and the update is not done. client_search (controller): public function mod(){ $mod=$this->main_model->mod( $this->input->post("DocIdent"...
asked by 09.10.2018 / 06:47
0
answers

Too few arguments to function when trying to adapt tutorial to make an update

Use Codeigniter with php, in a tutorial a crud is done, I already had the insert and I tried to adapt the code to make an update, but the code of the tutorial calls the model mod twice, and in one it happens only 1 argument. I think that's why i...
asked by 08.10.2018 / 11:59
1
answer

Too few arguments to function when sending data from a form to the controller

I use Codeigniter and php, I try to make an update, I do the initial selection well, then I go to a form that receives the data that will be modified, but I have problems sending the data to the controller. modify_view <!DOCTYPE HTML>...
asked by 09.10.2018 / 01:17
0
answers

does anyone know how to execute deferred MYSQL queries in PHP?

I have two related tables (Employees with primary key AI and Role with primary key AI and foreign referenced to the primary Employees) and not to generate inconsistencies in the data or in the autoincrementable key I want to do in the same PHP:...
asked by 23.09.2018 / 05:00
0
answers

Browser does not display any content - Ionic

Well, as the title says, I'm trying to consume a rest API with Ionic 3 and for some strange reason, my browser does not show me the array that returns the api, the strange thing is that the console is shown, I thought that I had syntax error or...
asked by 17.09.2018 / 01:15
1
answer

How to re-size an image in laravel?

This is the function that I have that saves the image everything works fine, but I want to know how I can do to resize the images and fill the images to not distort, like adding a margin, either vertically or horizontally according to as necessa...
asked by 25.09.2018 / 13:16
1
answer

django forms does not insert data

I have a form with a model related to several models, create the form and it is well displayed, but when you submit, nothing happens, that is, the data is not saved in the db, I use python 3.7, django 2.0 and mysql: Model class Proyecto(...
asked by 31.08.2018 / 18:18
0
answers

DOUBTS to do CRUD of data WITH Jquery, Ajax and PHP + Modal

I have a "history" in a "table", as follows: $indices = '<table> <tr> <th>Selec</th> <th>NumP</th> <th>Fecha</td>...
asked by 28.08.2018 / 21:04
1
answer

When trying to insert data into the DB I get an error [HY093]

The fact is that I am trying to insert users through PDO and CRUD and this is generating an error which I can not solve. The error is exactly this    SQLSTATE [HY093]: Invalid parameter number: parameter was not defined File containing...
asked by 22.03.2018 / 12:40
1
answer

How can you allow each user to edit their profile, use Laravel, and a generated one called InfyOm?

Good I am new in this, I am doing a small system with the framework of PHP Laravel, to start create a CRUD of a table that I have in a database of MySQL with the generator of InfyOm (Here you can see it and download it < a href="http://labs.infy...
asked by 03.08.2018 / 03:55