Questions tagged as 'crud'

1
answer

Crud with webservices REST simple java. Problems with class customer jersey

I have this class but it is giving many errors I do not know what I do today that I try to solve. What do I do? package manager.client; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.Invo...
asked by 15.07.2016 / 20:07
1
answer

Select PHP + Mysql

I'm new to web programming and I'm having trouble creating a CRUD, the insert worked OK, but the next step is that SELECT is not running as it should and I'd like you to help me see which one is being my mistake. I'm doing this: <?php $con...
asked by 06.06.2016 / 06:26
1
answer

I created my entity in symfony - Crud

I used the command: php bin/console generate:doctrine:crud It generated all page and controllers in my project, but when I enter the route to create a user it gives the following error: Expected argument of type "string", "AppBundle\Form\...
asked by 20.12.2015 / 23:18
1
answer

How to reload the contents of a popup (modal)

I have a form that one of the buttons when you click 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 opens in a new tab. I wanted to know how I can...
asked by 17.03.2015 / 15:58
1
answer

PDO Help (PREPARE)

Hello. I'm trying to make a CRUD using PHP OO. But when I run I get error in prepare of the PDO class. I have only for the moment the registration code in the bank and the connection code to the bank: Banco.php <?php class Banco{...
asked by 28.01.2017 / 21:25
2
answers

Error inserting data into DB with PHP [closed]

When trying to insert data into DB, it displays the following message:    Fatal error: Uncaught Error: Class 'user' not found in C: \ xampp \ htdocs \ CRUD \ interface \ user.php: 11 Stack trace: # 0   {main} thrown in C: \ xampp \ htdocs \...
asked by 03.08.2018 / 07:41
1
answer

Get the data related to more than one table, separately?

I can not do this at all. It seems to be with the join, but when I try, it returns zero records. I have the tables: TB1, TB2, TB3, TB4, TB ... etc All with PK (ID) I tried this code: SELECT ID FROM TB1 inner join TB2 on (TB1.ID = TB2.ID)...
asked by 27.08.2018 / 15:43
1
answer

I would like to know how to load data from one HTML into another

I need to load in a new HTML the data provided by the first one (HTML) to make the change. The proposal of the activity that I am in doubt is the following: "Once the customer registration is done, a link to the customer data change page that...
asked by 07.07.2016 / 22:22
1
answer

Display recent products with php in thumbnails [closed]

I have a page and need to display in the index a 4 thumbs with the latest products registered in my bank mysql, I want to do this using php. If anyone can help, I appreciate it. My index uses bootstrap 3.     
asked by 30.06.2016 / 14:31
1
answer

I can not insert data numbers float [closed]

<?php require_once('cabecalho.php'); require_once('conn.php'); ?> <?php $nome = $_REQUEST["nome"]; $preco = $_REQUEST["preco"]; $query = "insert into produtos (nome, preco) values ('{$nome}', '{$preco...
asked by 09.07.2018 / 22:09