Questions tagged as 'mysqli'

1
answer

How to get the value of the table calling from php?

I have a problem with the following code: <table border=7 ALIGN=CENTER width="70%" bgcolor=#ffffff> <form role="form" name="registro" enctype="multipart/form-data" action="vehi-consul.php" method="post"> <TR ALIGN=CENTER&...
asked by 21.06.2016 / 18:53
1
answer

Why do you repeat the data?

Good morning I'm doing a query on mysql trying to bring only one result per date but it's bringing me more than two results from the same date, someone to help me with what I have to remove or add to the query. SELECT DATE_FORMAT(fecha_pe...
asked by 01.08.2016 / 17:12
0
answers

failure to insert data in php

I have the following code: //obtener id usuario session_start(); $email = $_SESSION['usuario_email']; $nombreUsuario = $_SESSION['usuario_nombre']; $apellidoUsuario = $_SESSION[...
asked by 27.12.2018 / 11:28
1
answer

delete php record

I do not understand why this code is not executed to delete a user by entering an email: <div class="lista-usuarios"> <h2>Lista de usuarios: </h2> <br> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method...
asked by 27.12.2018 / 18:35
0
answers

How to prevent duplicate items in a while cycle and JSON php

I made this code but I can not clean the second response of the while <?php $json = array(); $select = "SELECT id, nameVersion, urldownload FROM history WHERE disponibilidad ='1' "; $resultado = mysqli_query($m...
asked by 27.12.2018 / 06:25
0
answers

Activate NAV TAB bootstrap after Insert Registration

Friends Good afternoon everyone, My question is this: I have a NAV TAB in bootstrap but after having inserted a record in MYSQL, as you could do this, I know I should use javascritp, but I really do not have the slightest idea where to sta...
asked by 23.12.2018 / 22:42
1
answer

Problem with a record working with 2 tables, in mysql

I have a problem in this query, it consists of 3 sheets, one where I enter an email from a table to find a specific student, another where I change the course and another that modifies the course of the student table. The problem is that I ha...
asked by 03.01.2019 / 05:41
0
answers

Does not show JSON PHP object

I want to show the result of the query in a JSON but it gives me an empty result, I suspect it is by SCOPE DE PHH, but I have not been able to solve it. <?php include('datos_bd.php'); $conectar = mysqli_connect($nombre_host, $nombre_usuari...
asked by 20.12.2018 / 03:13
0
answers

mysqli_stmt_get_result - Fatal error

I have an error in this line of code that I am not able to solve. I have looked in many forums and many say that it can be by the php version. I have been checking in the phpmyadmin of the server where I have it hosted and allows to use this fun...
asked by 18.12.2018 / 09:48
0
answers

Make an insert in two diffent tables

hello I have a question about how to make an insert to two different tables with php having foreign key, this in a single form that you have ... CREATE TABLE validador(id_registro int not null PRIMARY KEY AUTO_INCREMENT,id int not null, FOREIG...
asked by 11.12.2018 / 17:26