Most voted "crud" questions
CRUD stands for Create, Read, Update and Delete in the English language, which are the four basic operations used in relational databases (RDBMS) or in user interface for data creation, query, update and destruction.
Learn more…176 questions
Sort by count of
-
1
votes1
answer614
viewsjson_encode Empty
Below my PHP code. It takes the data from the database, puts it in an array and then goes through a json_encode. However, it does not print anything, how to solve? Note: Using print_r in the array…
-
1
votes0
answers282
viewsfunction that returns the name of the key field of a query (tfdquery), Delphi XE8
I’m preparing a CRUD in Delphi and need to do a function to find the key field (Keyfield) of a certain record located in the query. The idea is to replace the id field required by Locate with this…
-
1
votes2
answers63
viewsProblems in a crud class
I’m trying to build a class to be used with mysql at first I have only two files so I’ll paste the code I’ve already done here and explain my doubt. classes/connect.php <?php /** * Created by…
-
1
votes3
answers512
viewsHow to make a simple CRUD using Temp-table
I’m starting at Progress 4gl, and would like to learn how to make a simple customer registration or anything related to a CRUD. I would like to do using temp-Tables. I’ve been researching and I’ve…
-
1
votes1
answer42
viewsHelp with Web Form Update
I am developing a CRUD system, and am having problems updating registered users. The bad thing is that my browser shows no errors. The problem is that when I edit in some field, for example, email,…
-
1
votes0
answers514
viewsObject Orientation in PHP, crud example with ajax
I’m trying to learn Object-Oriented PHP, but I’m having a hard time finding an example. Someone can show a simple example of the crud case below: A php class, for example user, in this class has…
-
1
votes0
answers50
viewsPHP classes that returns "Alerts" css
I am developing a small application that will serve to update my knowledge, however, in the development of it I came across some inconsistent situations. I would like my "CRUD" to return a "div"…
-
1
votes1
answer269
viewsPass variable from daughter page to parent page in jsp
I’m making a simple crud in java using jsp and servlets. And I came across the following situation: I have a layout.jsp which makes the include of another dynamic page, which in this case will be…
-
1
votes1
answer707
viewsUpdate does not update database records
In my system has a registration page and a page with a table with the information of registered. In this table there is an edit button that links with an equal form of the registration page. What…
-
1
votes1
answer956
viewsDelete firebase record
Hello, I read the firebase records and insert an array of objects. The Json class has only business fields and does not have the key field. To delete a record I evaluate that the Best approach would…
-
1
votes0
answers284
viewsWeb Application in ASP.NET MVC CRUD with MS access
I’m doing a job, and I need to do a web application to track tasks. The requirements are those of the topic. It is a web application made in ASP.NET MVC and access database creating a CRUD. I’m…
-
1
votes0
answers308
viewsCRUD - LARAVEL 5.6
I am developing a CRUD and in my controller I have create function: public function create() { $neighborhood = new Neighborhood(); $city = new City(); return view( view: 'admin.cities.create',…
-
1
votes0
answers81
viewsCRUD Android doubts
Good afternoon I’m with 3 doubts regarding a crud I made in my app. 1 I did a field search and it seems that does not pick up any phone of the line J7 and I was wondering if someone can tell me why…
-
1
votes2
answers113
viewsDoubt C# ADO.NET class - Accessing data from a Datatable
Hello, good evening, I’m new here and a beginner in C programming#. I am developing a CRUD vinyl record system (a particular hahaha addiction), using ADO.NET classes, similar to the article below.…
-
1
votes1
answer197
viewsEdit Image Upload with Ajax and Codeigniter
I’m having a difficulty that is the following , I have a CRUD that the upload works right , when editing this CRUD I can edit all the data including the image upload all without problem , however if…
-
1
votes2
answers139
views -
1
votes0
answers73
views(Javascript) - How can I remove duplicate event occurrence
Good evening guys, I am learning Javascript and decided to create this layout to test some knowledge, created a table and a modal to add users to the table. I’m creating the part of edit users, and…
-
1
votes1
answer83
viewsI cannot pass the key attribute of the object I want to edit
I’m trying to edit a device inside my CRUD, using Firebase’s Angular 9 and Realtime Database, by clicking on the "Edit" button, I’m redirected to another page so I can change the values of that…
-
1
votes1
answer50
viewsIs it possible to create a Java superclass for basic CRUD functions using spring framework?
While working recently on a project, I noticed that we have several classes with basic CRUD and repeating functions, their only differences, would be some parameters, responses and function calls in…
-
0
votes1
answer236
viewsHow to reload the contents of a popup (modal)
I have a form that one of the buttons when clicking opens a popup (modal). Inside this popup I have a simple crud to insert, edit and delete people. When I click on one of these options, a new form…
-
0
votes1
answer967
viewsSave, Delete and Get in Angularjs
I am making a false "CRUD" in Angularjs and I am having problems in save, delete and get functions. Only query() function worked. Can you help me, please? I saw that the reason is something related…
-
0
votes3
answers1060
viewsImplementation of generic CRUD
I have the following class CRUD that is generic: public abstract class CRUD { protected string tabela = null; protected object classe = null; public CRUD() {} public virtual void insert() { //código…
-
0
votes2
answers1630
viewsIs there crud plugin for wordpress?
I need a plugin that take the information from a form and insert it into the database, also want to be able to change, query and delete this data on an admin page. May be plugins distinct for each…
-
0
votes1
answer112
viewsI created my entity in symfony - Crud
I used the command: php bin/console generate:doctrine:crud it generated all pages and controllers in my project, but when I enter the route to create a user of the following error: Expected argument…
-
0
votes1
answer51
viewsNosuchelementexception: None.get em play framework para scala
I created the upadte method, but when I test it shows the error Nosuchelementexception: None.get UserController object UserController extends Controller { def update(id:Long) = DBAction { implicit…
-
0
votes1
answer91
viewsVB.NET with Acces database
I’m trying to make a CRUD here using VB.NET and Access, only when I’m going to perform a INSERT returns the error: "Sintax Error in INSERT INTO statement" Code: con.Open() Dim strCmd As String =…
-
0
votes1
answer74
viewsrecover data in a list for editing
On an edit page of the registration data, how to fill a select with the information originally saved. Ex. In the registration form, it was selected in a select, a city. After saving, there is option…
-
0
votes2
answers343
viewsHow is crud to update the records in SQL Server by Visual Studio C#?
I am using this code, it does not error but does not update the data public static int attLoja(LojaVirtual loja) { int resposta = 0; using (OdbcConnection conexao = ConexaoPadrao.CreateConnection())…
c# sql-server visual-studio sql-update crudasked 9 years, 5 months ago Nataniel Soares Rodrigues 155 -
0
votes1
answer132
viewsSelect PHP + Mysql
Guys, I’m a beginner in web programming and I’m having trouble creating a CRUD, the insert worked OK, but the next step is SELECT is not running as it should and I would like you to help me see what…
-
0
votes1
answer324
viewsHandling CRUD Array PDO data
list-dish.php: <?php //inclui as bibliotecas require_once('conexao.class.php'); //faz a canexão $pdo = new Conexao(); // determina o numero de registros que serão visualisados $maximo = 20; //…
-
0
votes2
answers711
viewsJpa Hibernate merge error
Error Hibernate: select SEQ_COUNT from SEQUENCE_TABLE Where SEQ_NAME = 'EMP_SEQ' for update Hibernate: update SEQUENCE_TABLE set SEQ_COUNT = ? Where SEQ_COUNT = ? and SEQ_NAME = 'EMP_SEQ' Hibernate:…
-
0
votes1
answer42
viewsGrocerycrud error
Speak guys I’m trying to use the Grocerycrud together with the Framework Codeigniter I am doing the installation exactly as indicated in the video tutorial of Grocery but even without changing…
-
0
votes0
answers60
views -
0
votes1
answer266
viewsAutomatic character insertion in a form to validate CPF
Friends, I am making a CRUD system and now I am working on consistencies, and in the part q the user type the CPF, I want that after typing 3 numbers, a point is inserted automatically, can anyone…
-
0
votes1
answer63
viewsHow do I make a consistency in the form so it only accepts 100x100 images?
I am making a crud type system and has an input field for the user to send his photo, however the photo has to be in size 100x100, there is a way for the form to accept only images of this size or…
-
0
votes1
answer186
viewsUpdate does not update
The app works like this: An SMS is received, so the app checks if the number that sent this SMS is registered, if the app checks the first twenty characters of the message, which I call text…
-
0
votes1
answer637
viewsValidation of the update in the Standard
I have a problem to validate the update on Laravel. My Controller is like this: public function editar(EspecieRequest $request, Especie $esp) { $especie = Especie::find($esp->id_especie);…
-
0
votes1
answer400
viewsSeveral CRUD in the same PHP project
Hello, I have a question about structuring a project, in case it is in PHP. Let’s say I have 3 CRUD to make, one would be products, the other customer and the last order. In that case, I would have…
php characteristic-language pattern-design crud project-organizationasked 6 years, 7 months ago Luiz Miguel 27 -
0
votes1
answer864
viewsHow to Make a Control Class for JDBC Crud
How do I make a control class for a list method of my crud? The method of my dao class will return all the data set that have the same city. But this mistake happens in my main class: Method of…
-
0
votes1
answer590
viewsDoubt about ajax url
I am developing a simple crud with ajax and jquery and came across the following question... $('#btnDelete').unbid().click(function(){ $.ajax({ type: 'ajax', method: 'post', async: false, url: url,…
-
0
votes0
answers261
viewsMysql hangs when trying to query table with many records (PHP)
I am trying to make a filter where the query is done in a table where the id of the last record is in the number 468.466. In the filter, I need to make a comparison with a View, which has your id…
-
0
votes0
answers19
viewsSelection does not display data on screen (php and mysql)
<?php class categoria { public function selecao($pesquisa){ require_once 'conexao.php'; $con = new conexao(); $conn = $con->conectar(); $sql = "select *…
-
0
votes2
answers620
viewsCRUD with Angularjs and PHP
Good night! I got the following: var carregarUsuario = function () { $http.get("buscar.php").then(function (retorno){ console.log(retorno.data); $scope.usuarios = retorno.data; }); };…
-
0
votes1
answer749
viewsFATAL EXCEPTION: main Process:-When I opened the application give ANDROID error
every time I try to open an error query, I’m using php along with java follows the error below: E/AndroidRuntime: FATAL EXCEPTION: main Process: br.com.alencardeveloper.escola.sisescolar, PID: 11602…
-
0
votes1
answer158
viewsDoes Entity Framework need Session and Httpcontext?
I watched some videos about Entity and saw two different versions, in a first was something simple and direct (I believe the raw form of the Entity), where it just instantiated the context of the…
-
0
votes1
answer53
viewsUpload Images with PHP + Mysql
I am working on a project that requires the employee’s registration with his image on the form. So far so good, is performing normally the insert, both the data and the image. But when I try update,…
-
0
votes1
answer826
viewsModal Bootstrap data insertion with PHP OO
I am developing a client registration screen with PHP OO but due to my inexperience I am finding it difficult to list client data within a Modal Bootstrap. First, I have this list of Client Objects…
-
0
votes1
answer72
viewsIntegrity breach not released in BD Sqlite
CRUD in C# is not throwing integrity breach error while deleting BD Sqlite dependent record. query = "DELETE FROM "+ table + " WHERE id = '" + id + "';"; int returnValue = 0; try { conn = new…
-
0
votes1
answer190
viewsCRUD U cannot get the ID and edit the Update
Folks I need a light to unwind a TIMESHEET. I have the following code. <form method="post" action="includes/input.php"> <button type="submit" class="btn btn-primary"…
-
0
votes0
answers54
viewsDoubts structure of a crud on Android
I have the following classes: Client, Clientedao and DAO. In the Client template I have attributes and gets/sets. In Clientthe I have the methods save(), change(), ... ie the crud. This class…