Questions tagged as 'mysqli'

1
answer

Can someone help me with Mysql with a query?

Sorry for the inconvenience I am developing a systems of events. The detail is that I have a table exclusively to control all the events, what I am trying to do is eliminate the already expired rows, every so often with the Mysql query. Th...
asked by 17.02.2018 / 19:45
1
answer

Warning: mysqli_query () expects parameter 1 to be mysqli

I have the following code <?php function consulta () { global $conexion; $dbhost = "localhost"; $dbuser = "root"; $dbpass = ""; $bd = "alumnos"; $conexion = mysqli_connect($dbhost, $dbuser, $dbpass, $bd); $result = mysqli_query('SELECT...
asked by 28.09.2017 / 06:15
1
answer

Why does not this trigger insert anything in any of the two tables?

The syntax does not mark any error which means that I have bad logic, the problem is that I am new in phpmyadmin and I do not know very well if I place the if correctly DELIMITER $$ CREATE TRIGGER VALIDADOR BEFORE INSERT ON validacion...
asked by 07.03.2018 / 20:16
1
answer

How to load a mysql table with php?

Good morning, I'm new to php, I need to load a complete table that is in my mysql database and show it as a table with its header and everything on my website, if you could help me, thanks?     
asked by 19.02.2018 / 16:34
0
answers

Load easycomplete autofill from the database?

I am trying to fill out the easyautocomplete autocomplete with information from the database. <div class="contenedor"> <center><label for="" class="titulo">Cambio de cédulas de consumos</label></center>...
asked by 06.02.2018 / 20:04
1
answer

How can I give limited time to events in a Mysql and PHP table?

Good afternoon everyone apologize for my little annoyance. I have a little doubt, I'm trying to give time to each event that enters the db Event table in the duration column, what I want to do is count down to "0" and then delete all the row...
asked by 16.02.2018 / 21:36
0
answers

PHP - I do not work fetch_all (MYSQLI_ASSOC)

Fatal error: Uncaught Error: Call to undefined method mysqli_result :: fetch_all () in C: \ MAMP \ htdocs \ gdlwebcamp \ index.php: 76 Stack trace: # 0 {main} thrown in C: \ MAMP \ htdocs \ gdlwebcamp \ index.php on line 76   getMessage ();   ...
asked by 29.04.2018 / 04:17
1
answer

Increase Box Spout speed

I have an Amount or load with Box Spout but I do not see the difference in speed increase with PhpExcel, Can someone tell me if I'm doing something wrong? <?php error_reporting(E_ALL ^ E_NOTICE); ini_set('display_errors', TRUE);...
asked by 26.01.2018 / 21:29
1
answer

angularjs does not bring results

I'm trying to bring results from a database but there is a flaw. It does not show any element when operating ng-repeat ANGULARJS angular.module('vinApp', []) .controller('propDis', function($scope,$http) { $http({...
asked by 26.01.2018 / 16:26
1
answer

Form to leave comments on the web

I need to make a form to leave comments on my website, that users can comment and publish automatically. This is the code I have but it does not work ... Can you help me? I put it before but it was not the right thread .. Here are the comm...
asked by 22.01.2018 / 22:06