Questions tagged as 'mysql'

0
answers

Problem when evaluating a session variable, does not execute the if statement using php and html in free server 0000webhost

hello the problem is strange because when I evaluated the session variable on my local server if it executes my logic correctly, but when I run the same code on the remote server it does not execute my if statement that it may be due, the The se...
asked by 06.06.2018 / 08:06
0
answers

How to install myqsl_xdevapi for php in W10?

I have searched everywhere but the more I search the more confused and I do not understand how to install everything necessary to use the mysql xdevapi in PHP, can someone guide me? I am reading this manual link and the download link I do n...
asked by 17.06.2018 / 06:27
1
answer

error when inserting a double value in a database

I try to make an insert of a double value into a database (MySQL) and it shows me the error: java.sql.SQLException: '∞' is not valid numeric or approximate numeric value Connection conexion = AdminConexion.getInstancia().obtenerConexion();...
asked by 17.06.2018 / 01:34
0
answers

How to make an alert message related to the date date?

My idea is to show an alert icon in the date record that is about to expire, I understand I have a system where requests are entered, if the request is not answered within a period of 10 days it will be automatically displayed the alert icon...
asked by 05.06.2018 / 21:33
0
answers

List in Datatable.js 12k of rows

I am working with php and mysql with the Codeigniter framework and I am loading 12 thousand records of products using Datatable.js, the problem is that when the page is displayed, 12 thousand records are loaded and after about 20 seconds accommo...
asked by 05.06.2018 / 20:50
0
answers

-bash Termilan mac

I wanted to enable the MySql command in the Mac terminal, I did not succeed, but now every time I open the terminal, this appears: Last login: Wed Jun 6 10:36:08 on ttys000 -bash: export: '= / Application / MAMP / Library / bin: / usr / local...
asked by 06.06.2018 / 15:44
0
answers

How can I count the records according to the query?

// I am trying to count the database registration number according to the situation. [! [enter the description of the image here] [1]] [1] <?php $conexion = mysqli_connect("localhost", "root","admin123","database"); ? >     Stati...
asked by 06.06.2018 / 13:12
1
answer

How to call a Mysqli connection in different functions?

I am migrating my web from mysql to mysqli, before I had a file called db.php which had this connection to the database: db.php <?php $dbhost = "localhost"; // El host $dbuser = "root"; // El usuario $dbpass = ""; // El Pass $db = "web";...
asked by 07.06.2018 / 14:44
0
answers

My database is not updated with UPDATE

I have a problem the database is not updated when I press the button, my code is this Form <?php extract($_GET); $server = "localhost"; $usuario = "root"; $contraseña = ""; $bd = "bdpag...
asked by 04.06.2018 / 20:53
1
answer

Table format with TCPDF library

I am trying to format a table generated by a query to mysql through the TCPDF library. In this part of the code I generate the table, but the conditions colspan, rowspan or width do not take them into account when drawing the table. fun...
asked by 05.06.2018 / 19:07