Questions tagged as 'mysqli'

0
answers

Consultation with MYSQL

Good I have in the table inspections some select that have values, so as not to have to hardcode all the possible values to choose to store them in a table called form_values When saving an inspection in the picker field, the id of that optio...
asked by 04.10.2017 / 22:52
1
answer

Change mysql query with javascript

I have a problem and I do not know how to solve it, I show my code of a select loaded with mysql data, <?php $link = mysqli_connect("localhost", "root", ""); mysqli_select_db($link, "stp17"); $tildes = $link->query("SET NAMES...
asked by 28.03.2017 / 17:22
3
answers

Join two connections in a PHP MYSQLI

I have mounted a web page that accesses some data in concrete with data base.table database.table (this way the queries are mounted) the problem that I have now been told that database1 is on another server and I do not know how to create two...
asked by 06.03.2017 / 10:25
1
answer

Php and Mysqli encrypted keys

Good, what happens is that I'm super lost with this encrypted keys in php ..... I have a code that already keeps me in the database the keys (already encrypted) my problem now is how to verify them , I have the following code, I guess it will be...
asked by 02.03.2017 / 03:31
1
answer

Statements prepared in MSQLI

Edited I add the ajax where I make the request $.ajax({ //tipo de peticion puede ser type: "POST", //url del php url: "pcService.php", //separado por comas data: { id: idPC,...
asked by 14.02.2017 / 19:28
1
answer

output query php CSV in a column

I have the following code: $Name = 'NOMINA-'.$mes.'-'.$dia.'-'.$ano.'.csv'; $rpedidos = "SELECT total, cuenta FROM nomina"; $reg = $conexion->query($rpedidos); while( $reg_File = $reg->fetch_array() )...
asked by 18.01.2017 / 00:11
0
answers

In Connection PhP and MySQLi because it does not detect if it is less than zero?

I have the following source code in PhP which, after doing a subtraction, leaves it as it is and does not return the entered result to be its original value: <?php // Database configuration parameters include "../../includes/...
asked by 01.01.2017 / 23:40
1
answer

how to do one followed by numbers in mysql

In a database I have the following problem: ID premio ordenar precio Fecha escala_Vencida 1 1 1 1000 30-12-2016 si 2 1 2 2000 30-12-2016 si 3 1 3 3000 30-12-2016 si 4 2 4 4000...
asked by 14.01.2017 / 14:28
2
answers

Error uploading images to the server

I hope you can help me, you will see I have the following: A file called index.php with the following code: <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; char...
asked by 07.01.2017 / 05:25
1
answer

How to capture the value of a select in Ionic, AngularJs?

The problem occurs when passing the value of a select, which I want later when ng-change detects a change a request is sent with the value of the id of the selected province, to then return the cities according to the province, but show that id...
asked by 15.11.2016 / 01:53