Questions tagged as 'mysql'

2
answers

Slow response (PHP MYSQL) [closed]

<?php require('DB.class.php'); //$conexao = mysql_connect('xxx.xxx.xxx.xxx','base_dados','utilizador'); //$db = mysql_select_db('base_dados',$conexao); $SQl_list = DB::getConn()->prepare("SELECT * FROM 'wpr3_posts' WHERE post_con...
asked by 02.05.2017 / 17:48
1
answer

INSERT in mysql in another domain [closed]

Make an INSERT in mysql in another domain. For example: on my site has the site administrator, and there I can register my products, when registering, will register on my website and on another site outside my domain. Can you do this?     
asked by 03.10.2014 / 13:24
1
answer

Group Mysql Values

Dear, I have a table with the configuration: Tipo Medida Valor 1 0.2 5.00 1 0.4 6.00 1 0.1 5.00 1 0.3 5.00 2 0.1 3.00 2 0.2 3.00 2 0.3 5.00 2 0.4 5.00 I would like to group the values where th...
asked by 02.10.2014 / 21:30
1
answer

"You have an error in your SQL syntax"

I'm getting this error while accessing the page:    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 <html> <head> <title&...
asked by 04.12.2014 / 22:55
2
answers

How to create upload files without using "input file"?

How do I upload files without including input file that is, only using textField in HTML? I have managed to resolve personnel below the solution <?php $numtotal=5; $erro; for($i=0;$i<$numtotal;$i++){ $arquivo=$_POS...
asked by 30.06.2014 / 21:36
1
answer

Subquery MySql 1 [duplicate]

Motta, Thanks for the agility, but this instruction is appearing only the highest salary. I tried INNER JOINT, and I almost did it. Imagine that I want to compare the salary of people with the same job. See if you can understand with the at...
asked by 15.05.2014 / 17:46
1
answer

Problem with PHP pagination

I have a problem with pagination, I have the main page where the whole structure of my site, called main.php, is located. There you have the switch to open the files, that way. PAGE MAIN.PHP switch(@ $_GET['pag']) { case "historico"...
asked by 30.07.2014 / 03:18
3
answers

Writing to MySQL with PHP

I want to record this data more than once but I can not. I have 10 items each with $ position, $ track, $ artist, $ recorder coming from the form. I can record the first time, then I try to record again with the same data and I can not. With dif...
asked by 17.09.2014 / 16:24
1
answer

Insert MYSQL in Web form C # - I can not insert anything

I'm trying to make an insert in my bd from an app from the college I'm developing. However, I'm having difficulties. Getting the texbox values protected void button1_cad_cliente(object sender, EventArgs e) { Clientes cl = new C...
asked by 22.09.2014 / 05:53
1
answer

How to invert the loop result order in PHP? [duplicate]

I wrote a code based on tutorials that I saw to show user information database information in tables but I would like it to reverse the order of the results. How can I do this? <?php // se o número de resultados for maior que zero, mostr...
asked by 09.10.2016 / 17:42