Questions tagged as 'crud'

1
answer

Doubts about url ajax

I'm developing a simple crud with ajax and jquery and I came across the following question ... $('#btnDelete').unbid().click(function(){ $.ajax({ type: 'ajax', method: 'post', async: false,...
asked by 01.06.2018 / 00:29
1
answer

C # CRUD - Insert Error (Can not add or update child row: a foreign key constraint fails ...)

Good morning, I had been able to do everything right up to this error when inserting something into the database. localhost / phpmyadmin - xampp. It's something with id_user but I do not know what it is. I do not insert a txtbox...
asked by 25.05.2018 / 10:59
1
answer

Problems with CRUD using MySQL

I'm trying to create a simple CRUD, but I'm having problems with the query method. I wanted the method to display the following: Name, enrollment, course, phone and email in the first row and below the tuples information one by one in an orga...
asked by 18.06.2018 / 02:40
1
answer

Several CRUDs in the same PHP project

Hello, I have a question about structuring a project, in case it is in PHP. Let's say that I have 3 CRUDs to do, one would be a product, another a customer, and the last one to order. In this case, I would have to structure the project som...
asked by 03.04.2018 / 01:07
1
answer

Problem doing CRUD with HTML and JS [closed]

I can not do the edit button: var count = 1; function Insert(nome,idade){ var tr = '<tr>'+ '<td style="font-size:20px;text-align: center" class="tdnome">'+nome+'</td>'+...
asked by 15.01.2018 / 17:11
1
answer

Error executing POST method

I'm facing a problem with the POST method, when I trigger this method it normally inserts into the database, but the application (node index.js) is terminated, at the command prompt I get this error: Error [ERR_HTTP_HEADERS_SENT]: Can not se...
asked by 06.12.2017 / 18:51
2
answers

I connect in the database but the values do not change when I give UPDATE MYSQL Qt C ++

The data is loaded into the table, so I change the data in the table, when I click the button to update, I get the data (even the changes) and save it to the variable, but it seems that when I enter the sql query nothing happens . I need to be ab...
asked by 08.06.2017 / 12:51
1
answer

Integrity violation not released in BD Sqlite

CRUD in C # is not releasing integrity violation error while deleting dependent registry in SQLite DB. query = "DELETE FROM "+ table + " WHERE id = '" + id + "';"; int returnValue = 0; try {...
asked by 30.08.2016 / 02:11
1
answer

Inserting data in Modal Bootstrap with PHP OO

I'm developing a client signup screen with PHP OO but due to my inexperience I'm finding it difficult to list client data within a Modal Bootstrap. First, I have this list of Client Objects where I present only some basic data of the registe...
asked by 06.08.2016 / 01:42
1
answer

retrieve data in a list for editing

In an edit page of the registration data, how to fill a selection with the information originally saved. Ex. In the registration form, a city was selected in a select. After saving, you have the option to edit the data, but I am not able to d...
asked by 07.04.2016 / 21:07