Questions tagged as 'mysqli'

1
answer

FILE PHP editing image and information coming with POST

My code is not editing the information the way it is with the following error, Unknown column '$ full_name' in 'field list', I am passing this value and all others .. The Edit form: <form class="cmxform form-horizontal" method="POS...
asked by 25.06.2017 / 16:25
1
answer

Each row of the database enters a separate DIV

Good afternoon I'm trying to make a MySQLi query, that is, I want each row of the database to go into a separate div, I searched and did not find anything similar to what I think it gets in a difficult way to understand HTML code <div id...
asked by 07.06.2017 / 19:40
1
answer

Multi upload with various php and mysql formats

I would like to do a multi upload with various img formats, I am researching how it does using php 7.1, I understood more or less the business logic. I just can not reproduce. Can anyone give me a hand or link with a correct multi-upload appl...
asked by 13.07.2017 / 15:42
1
answer

Display image stored in the Database

I'm creating a digital menu that contains photos of the dishes. I stored the photo in the MySQL BD using the following code: HTML code <form enctype="multipart/form-data" method="post" action="./processos/cadastra_item.php"> <p ali...
asked by 01.06.2017 / 03:13
1
answer

Upload file, save MYSQL path and name

Save people! I have the following question, or rather I do not know how to do it. I have a resume form that is filled out and the user appends a .pdf file Objective: user fills in the form name, email, telephone, etc ... and attach the...
asked by 31.03.2017 / 19:47
1
answer

Show alert when select select

I have the following code $query = mysql_query("SELECT id, nome, situacao FROM clientes ORDER BY nome") or print mysql_error() <select class="js-example-basic-single form-control" id="cliente" name="cliente"> <option value="Seleci...
asked by 17.03.2017 / 19:32
1
answer

MYSQLI error with _GET attribute - Fatal error: Call to a member function error () on a non-object in

I have a problem and I do not know how to solve it. I'm using MYSQLI to query a database using GET to get the name of the table where the query should be done. BD connection code: $hostbd = "localhost"; $usuariobd = "usuario"; $senha...
asked by 13.02.2017 / 10:53
1
answer

How would this PHP be converted to mysqli instead of mysql? [duplicate]

I need urgently the following PHP that was built in msql is written in mysqli it is part of an application in which I am developing I have no knowledge in PHP I have already broken my head after a conversion and I did not find much help. T...
asked by 15.11.2016 / 05:05
1
answer

Problem with return of fetch_all method of PHP MySQLi class

So, I'm doing maintenance on a very large system. I have the query: $query = $mysqli->query("SELECT*FROM tabela"); And the problem is that they used fetch_all() to return the data. When the query does not return records the fet...
asked by 02.01.2017 / 17:29
2
answers

Mysqli does not display results

I have the following table in the bd DUELOS, I inserted the data but at the time of picking up the result I am having problem what should be? Fudged data in table Datasearchcode$iddesafiante=$_SESSION['user_id'];$desafiante=$_SESSION['userna...
asked by 14.02.2016 / 22:29