Questions tagged as 'mysql'

1
answer

Graph with Google Charts [closed]

How can I fill out this graph with MySQL data? <?php $sql = 'SELECT * FROM historicos'; $resultado = mysqli_query($conn, $sql); ?> <script type="text/javascript"> google.charts.load('current', {'packages':['corechart']}); goog...
asked by 06.09.2016 / 16:55
0
answers

How to install apache 2.2.31 on fedora?

I need to maintain a site that only runs with this setting: Apache: 2.2.31 php: 5.4.45 mysql: 5.5.50 -cll I'm trying to setup in fedora23, I've already removed apt related to apache that was installed and tried to install again follow...
asked by 06.09.2016 / 19:59
1
answer

Problem sending multiple emails

I have a problem, I made a script to send multiple emails, the problem is that it only sends to the first result of select , and already leaves loop without sending to those that are missing, below the code. If anyone knows w...
asked by 10.10.2016 / 20:15
1
answer

How to handle elements of an array individually?

Greetings, gentlemen, I'm trying to design a portal where my clients can view their invoices, statements and invoices. As you can see, everything is fine, but you're almost ready to do what I need. Below is the PHP code and how do I make the...
asked by 28.08.2016 / 19:32
2
answers

List of Tables

Creating my migrations in Laravel I had the following doubt: I have these two tables: Used ID MARK_NAME_ID MODEL YEAR TRADEMARKS ID NAME migration to save the tag ID I would do so: $table->integer('marca_id')...
asked by 28.08.2016 / 15:59
0
answers

Error Column count does not match value count at row 1, for a select

My system, in the save button, I inserted 3 tables at the same time, 2 using FK, I'm using the cad_id field as FK in 2 tables, I'm doing a select to pick up a single cad_id field to save in the bank other 2 tables, using the resultset, to set an...
asked by 17.09.2016 / 20:55
1
answer

How to display error when doing query?

I have the following problem, this query is not inserting data into the database: $inserir2 = mysqli_query($link, "INSERT INTO cliques (emailusuario, brasil, lucrobrasil, portugal, lucroportugal, suica, lucrosuica, belgica, lucrobelgica, austr...
asked by 21.07.2016 / 00:24
0
answers

Change the var value and load the php page

Onchange does not work, it only works on the first selection, then it does not. ideas ?? function getComboA(sel) { $(document).ready(function(){ var id = sel.value; $('#frontend').bcp({ 'ID': id, 'lo...
asked by 11.08.2016 / 19:23
1
answer

Optimize loading of select PHP + MySQL

Hello, I have a form where I need to load two selects which receive from the bank approximately 13,000 records each. Initially I created a function that loaded the records and printed the HTML code of the option and used it once in each select....
asked by 11.08.2016 / 19:48
1
answer

Error Waiting for table level lock MySQL Java application

I have a Java swing application that uses the MySQL database, in its operation after some time spent in operation I noticed that the application crashed in some moments, it is necessary to restart the computer to be able to perform the process a...
asked by 15.09.2016 / 12:55