Questions tagged as 'mysqli'

0
answers

Error editing records in PHP with related tables

I have a small problem when updating my CRUD. To start I have three related tables: Table User, Table location and Table Sepomex ( This last one is the one that provides emails from Mexico ) . The user table has the foreign key of...
asked by 24.11.2016 / 18:13
1
answer

Why do you throw these errors, some in fetch functions, and others in connection function calls, depending on how you try to connect?

<?php //////Intentaba abrir una pagina dinamica que mostrara los periodos, //al tratar de invocar esta función desde este archivo, y creando la //conexión con la bd, lanza lo siguiente: haciendo conexion d 2 formas // Al dejar la...
asked by 10.11.2016 / 08:50
0
answers

Error within loop that calculates average of notes and prints data in PDF, FPDF library

What this code does is print the materials with grades of a group of students requested in PDF, a page printed as a ballot for each student. Within the loop there is a if comparing a variable $bandera initialized with the first...
asked by 04.12.2016 / 07:25
1
answer

What is this error?, Warning: mysqli_fetch_array () expects parameter 1 to be mysqli_result, boolean given in ... error line [duplicate]

<table class="table table-bordered"> <thead> <tr> <th>Clave</th> <th>Nombre</th> <th>Apellidos</th>...
asked by 16.10.2016 / 23:24
1
answer

Retrieve Mysql values with PHP and JS in Modal Window Bootstrap

Good evening, I tried to fill a modal window with values of table fields, with jquery , and it recovers all fields except the last 3 and I do not see why. These are the files: the html modal window, the jquery file to fill in and the button...
asked by 10.10.2016 / 04:21
1
answer

Does not show result mysqli

Someone has an idea why when doing the query that is with mysqli (even if the table in question does not exist in the database) always gives blank results? I'm stuck with a query to the BBDD, in the backoffice it works correctly and the same que...
asked by 10.08.2016 / 02:22
1
answer

How to show results with different id of the same query?

I have the following code which I want to show all the people of the same day, I have managed to show it but it shows me only the same id. What can I be doing wrong? $mm=date('M'); $dd=date('d'); $strConsulta = "SELECT id FROM user WH...
asked by 29.08.2016 / 19:56
1
answer

error when printing the data of a logged in user ..!

Sorry for the inconvenience, but I have a great doubt, I get an error when showing the data of the logged in user, the strange thing is that if you allow me to enter the moment I enter the username and password. I have a file login.php . &...
asked by 13.11.2016 / 06:07
2
answers

Field of the table is taken as independent

Greetings, I would like you to help me because I want to write the records of a table through a function and what happens is that the id column has added the function that when pressed it takes a text field and the problem is that when you click...
asked by 27.06.2016 / 22:18
1
answer

I try to log users with password encrypted with hash, using password_verify [duplicate]

<?php session_start(); $connect = mysqli_connect("localhost","root","","dbvasco"); if(!empty($_POST["user"]) && !empty($_POST["pass"])) { // $user = $_POST["user"]; //$pass = $_POST["pass"]; $user = htmlspecialchars(mysqli_...
asked by 26.09.2016 / 04:24