Questions tagged as 'mysqli'

1
answer

Search answer with a line minus

Using practically the same php, except for the search part, returns the complete list, when I add the search part, one is always missing, usually the 1st of the list. Id pac Last Name DNI 1 Alvarez Gomez Alvaro 80100105 2 Bernardez Alvarez...
asked by 04.10.2017 / 02:18
1
answer

Replace one image with another PHP and MYSQLI

I have my code to edit images in my database, but when replacing the image in the folder or the path where it is saved does not replace them, but adds a new one. I leave image below: The image that is underlined in yellow is the one I w...
asked by 31.10.2017 / 22:07
2
answers

PHP doubt how to generate a counter in the name of a radio button

I have a panel survey manager where I add, edit and delete dimensions and questions of the survey, through this the survey that contains 4 dimensions, in a total of 21 questions and with a likert scale, is applied. My problem is based on plac...
asked by 07.09.2017 / 22:21
1
answer

Error connecting php database

Hello good afternoon I have an error with my system is that I am changing to PHP 5.6 to 7.1 I get that error when I want to connect my database and I have no idea why I leave the source code here @$conectar = mysqli_connect($dbhost,$dbuser,$db...
asked by 13.09.2017 / 19:21
1
answer

Check if there are users in the BD

I am checking if there are users in my BD through a form to enter the email and password. I check in a PHP file if the mail and the password exist in the database, but I get an error Undefined index: password and I do not know why. HTML co...
asked by 15.10.2017 / 12:52
1
answer

download of imagenen that is in the DB

as I do to download and to show on screen a previously loaded image to the database This is the php that seeks to load the image I do with the variable but the only thing that loads is the name of the image <?php...
asked by 29.09.2017 / 00:39
1
answer

Problem to get data from a table and store it in a different second table

I have a problem to get data from a table and enter that data in a different table. Obtaining the data from the first table is fine, the problem arises when trying to store the data obtained in the second table. Here is the code used. If anyone...
asked by 03.09.2017 / 19:38
1
answer

Employee profile with php photo

I have created a page to create an employee profile, and that's what I upload to the BD and I could even add a photo, upload it to a folder that designates it and everything is fine. The problem is that it occurred to me that when the profile...
asked by 23.11.2017 / 18:11
1
answer

Problem when exporting MySQL Database to Excel with PHPExcel

I'm trying to export the table from my mysql database using the PHPExcel library, but it does not generate anything for me. I have this link with which I make the call to the export file: <a href="exportar.php">Descargar tabla</a&g...
asked by 21.07.2017 / 20:08
2
answers

Problem in a user record

I turn to you again because the papers were burned ... I do not know what the problem may be. I'm with a registration system, to which I add the validation by google recaptcha. The validation works perfectly, the point is that when verifying tha...
asked by 03.07.2017 / 18:28