Questions tagged as 'mysql'

0
answers

Include pdf with printed data of a BD in another php file

I tried to include a pdf that prints data from a BD in a php file and I get errors. This pdf was made with the FPDF libraries. This is the pdf code: <?php require ('fpdf/fpdf.php'); require ('src/autoload.php'); require (...
asked by 10.12.2018 / 13:57
1
answer

Save dynamic inputs in a BD

I've been thinking about how dynamic inputs are stored in a database for a while. Let me explain: I have a database with an extructure like the following: Now then. If you had in the form that records this data, inputs generated by the...
asked by 05.12.2018 / 16:10
0
answers

preview a document in laravel

I have a list of files that is in the Mysql database, it is shown as a list and it gives me the names of the files that are in it, for example my view that is a table with the list of all the documents. or txt or pdf or png or jpg that can be up...
asked by 05.12.2018 / 20:01
2
answers

display the data of a multiple SQL query

I have this code that is perfect and everything, but my question is, how would you do to show the data? I mean when I make a simple query, it's enough for me to write: **while($datosx = mysqli_fetch_array($consulta)){ echo $datosx["fila de la...
asked by 07.12.2018 / 01:46
2
answers

How can I delete and modify records?

The thing is that I'm creating a table where I want the data already inserted can be modified or deleted. The problem is that I have no idea how to do it on my page model. the model is "Model View Controller". Any help? There are some e...
asked by 05.12.2018 / 04:02
0
answers

function for a consecutive in php

Good morning! I have a problem. They asked me to do a function to count a consecutive. my field of the table in MySQL is called counter For that, when adding a client, you have to put the consecutive one in said field I hope you can hel...
asked by 03.12.2018 / 21:34
0
answers

hide and show hidden divs

In my code I have n number of divs generated dynamically in the left part, where they take as id the name of a columan called user in my database, in my database I have id, user, and in the right side also dynamically generate the divs with the...
asked by 04.12.2018 / 23:38
0
answers

function to do consecutive

good day I have a problem in which I have to perform a function that helps me accommodate some values and perform a consecutive. I explain. I have a related table named def_cliente with a field that is called no_sport. the other table i...
asked by 04.12.2018 / 23:00
1
answer

Problems obtaining the ID of a record within a dropdown

Good day. I am elaborating two forms in which in the first there will be a dropdown to show data from a MySQL table and when selecting one of the records, in the second form your information will appear in a textbox and a dropdown to be updat...
asked by 04.12.2018 / 22:42
0
answers

Problem with button Confirm Purchase of my cart

Again I ask a question that I have already asked but in a different way, to see if that is how I explain myself better. I have made a cart in constant communication with my database (When the user selects a product it is inserted in a table "ite...
asked by 03.12.2018 / 16:10