Questions tagged as 'mysqli'

1
answer

Error in my PHP document

I'm having a small problem trying to insert some data in my database, but I could not find the respective error: ERROR    \ n Fatal error : Uncaught Error: Call to undefined method   mysqli_stmt :: bindParam () in   C: \ xampp \ htdocs...
asked by 02.07.2018 / 03:16
2
answers

SQL syntax error in MySql [duplicated]

This is the error that presents me when I want to save my data now, sorry that I did not raise it.     
asked by 17.08.2017 / 18:05
3
answers

Problem when creating MySQL tables with PhpMyadmin

Good afternoon, I have a problem creating tables with PhpMyadmin my sentence is this: CREATE TABLE 'prensacarv1'.'pr_clients' ( 'clientId' INT(10) NOT NULL AUTO_INCREMENT, 'firstName' VARCHAR(45) NOT NULL, 'lastName' VARCHAR(45)...
asked by 04.04.2017 / 15:06
3
answers

PHP - Disadvantage when using the mysql extension [closed]

Good, I need help to extract the data from the logged in user in my system. This is my database with their respective fields: What I want to do is that when the user enters, his / her email will be visible in all the following pages. Tr...
asked by 09.06.2016 / 20:59
2
answers

Problem with POST and AJAX

The problem is that I send a form with AJAX in POST. Everything goes well in the FIRST SENDING, now if I make the second shipment, it keeps double of itself, and the third shipment, triple of itself, and so on. So, could you tell me some way to...
asked by 26.06.2016 / 21:35
1
answer

how to consult 2 different results in the same column?

I am trying to make a query, where in the same column I have two different states, I explain them column = states state 1 state 2 my code for $auc = "SELECT * FROM resultados WHERE estados=1"; $au_count = $conexion->query($auc);...
asked by 27.06.2016 / 16:03
1
answer

Make UPDATE to a MYSQL data via PHP with a similar value from the same query

My query in this opportunity is to know if it is possible to make a UPDATE to a database from MySQL where the existing value in the database is only added a letter My query is as follows: $query = "UPDATE pedidos SET status_pedido = '...
asked by 13.11.2018 / 07:02
1
answer

Logic in MySQL Query only if 2 conditions are met

I have the following code: $query = "SELECT * FROM pedidos WHERE usuario = '$usua' AND status_pedido = 'ESPERANDO' "; $result = mysqli_query($db, $query); if ($result){ echo '<div class="alert alert-danger" role="alert"" >...
asked by 30.08.2018 / 15:17
1
answer

how do I fix this error "Notice: Trying to get property of non-object"

   Notice: Trying to get property of non-object in   C: \ xampp \ htdocs \ fairs-master \ fairs.php on line 84 <?php $rsFeriasMarcada = mysqli_query($link, "SELECT * FROM tab_ferias WHER...
asked by 28.08.2017 / 01:19
1
answer

I can not print the value of a $ _Session with an echo

I have a login authentication system that is this: <?php if(isset($_POST['txtpass'])) { session_start(); //variable de conexion: recibe dirección del host , usuario, contraseña y el nombre base de datos $mysqli = new mysqli("lo...
asked by 22.03.2018 / 11:24