Questions tagged as 'crud'

1
answer

I have a problem with my edit button

I already have everything, I just need the edit button but it is not edited, I pass the HTML and the php. <?php include('php/registrar.php'); if (isset($_GET['edit'])) { $id=$_GET['edit']; $editar_estado=true; $r...
asked by 04.07.2018 / 22:02
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

PDO num_rows count

I have this select input that gives me the option to choose a name of all the ones that can be removed: <td width="50%"> <select class="form-control" id="acro_proyecto" name="acro_proyecto" required> <option value="<...
asked by 01.06.2017 / 09:06
2
answers

Limit the elements that users can see in the views in Laravel 5.5

This is the view of posts on a blog to create, edit, view and delete. I want to restrict the create and delete button so that a user with a certain id can be the only one to see and use these buttons. Here I put the code of the view: <di...
asked by 25.02.2018 / 18:32
1
answer

Can not insert the value NULL into column 'Name'

Hello, I am working with ASP.NET trying to make a new object of categories from other classes and as I am passing all relevant parameters of both classes. But apparently I'm missing something I do not know if it's because of what I'm going t...
asked by 29.11.2017 / 18:45
2
answers

Events javafx CRUD buttons

I am developing a project (with javafx and scenebuilder) where I have to save the information of a stage in the database. The problem that appears to me is that the scene builder when I try to put the method that I made in the class does not let...
asked by 29.08.2017 / 07:43
2
answers

problem changing the css class of an element before triggering a form

I have the application mounted and wanted to make a small effect with css for the customer table, by adding the class rot180 that flips the arrow (selected) to sort the results in the head of the table. Well, in the onclick of the arrow on the a...
asked by 28.12.2018 / 18:46
0
answers

Error with listing in my jsp using jpa

help I get this error and I do not know how I can solve it org.apache.jasper.JasperException: javax.el.MethodNotFoundException: Method getid not found my jsp where I try to list: <tr> <c:forEach items="${sue...
asked by 21.12.2018 / 01:16
1
answer

SAVE DATA FROM A COMBO BOX TO MYSQL

I will comment on the problem I have. I have a ComboBox in Java which is connected to a BD (Mysql). The ComboBox loads perfectly the data of the BD, in this case the name of some users. However, when I programmed the 'Save' button I do not know...
asked by 08.11.2018 / 23:36
1
answer

Save button that serves to update

I appeal to you since I have a question and can not think of anything to solve it. I comment I'm doing a CRUD in Java with the BD Mysql. I have done almost all the buttons, I just need to update. It turns out that I want the Save button to als...
asked by 04.11.2018 / 22:23