Questions tagged as 'mysql'

0
answers

Problem with duplicate mysql record

I have a script that receives free market requests when there is an update to an order. When a request is made, the free market sends 5 to 10 requests for this script at the same time (do not ask me why it sends so many requests at the same t...
asked by 18.08.2017 / 23:37
3
answers

No select error using mysqli_query

I've done a php to list the rooms, but I'm having difficulty listing them, if anyone can help me, I would appreciate it. <?php $link = mysqli_connect("localhost","root","","hotel"); $result = mysqli_query("SELECT descricao FROM quartos WHER...
asked by 08.06.2015 / 21:53
0
answers

How to include banner in the middle of the text?

I'm rebuilding an old project, written in PHP with MySQL. For practical purposes, consider it as a news portal. In the database there are several articles, which are on the site by simple query, which generates the strings $ title $ subtitle...
asked by 09.09.2017 / 13:34
1
answer

Recording Sessions in the Browser

How to record sessions in the browser with php. I currently have a login system, and always validate the [$_SESSIONS] in the browser, but every time I close and reopen the browser, login no longer exists. How best to store your data...
asked by 04.09.2017 / 15:51
0
answers

Return value of radio button

Although you have set the default value of the field to "N" in MySQL, when using the radio button on the form, if it is not selected, the record is null. How to make the record inserted, in which the radio button is not checked, come as "N"?...
asked by 16.10.2017 / 02:26
0
answers

You are not writing information to the database

When informing client data to be registered in the database, it simply does not record and does not show any errors, I believe the error is here if($site->inserir('loja_clientes', $dados)) But if not, how can I resolve this? si...
asked by 15.10.2017 / 11:38
0
answers

Doubts Mysql ENGINE = FEDERATED

Good evening, Someone could help me, I'm in a project where I need to do table relationships on other servers, I'm using it like this: Here I am creating the connection url dynamically: set v_link = concat('mysql://',v_mysql_user,":",v_m...
asked by 11.09.2017 / 02:02
0
answers

free server for testing (php, mysql) [closed]

Maybe this is not the focus of the community, but does anyone know of a free server to test php and mysql?     
asked by 09.09.2017 / 22:08
1
answer

Backup Database - error in SQL Syntax

I am building a button to back up my db via C# application, is running fine, however at the time of applying ExecuteNonQuery is accusing% error of%. Follows: Designate Path: private void Browser_Click(object sender, Eve...
asked by 23.08.2017 / 18:51
3
answers

Get only 1 of each journey

Well, I have a table designated by tabelajornadas . In it, I have several records, and in which I have the column jornada , which is of type int . At the same time, they contain several records with the same number in the...
asked by 25.08.2017 / 15:04