Questions tagged as 'mysqli'

1
answer

How to update my MySQL code for MySQLi?

I have codes that use mysql and need to update to mysqli . I need to make two changes, these being the .php pages that insert the data into the database table and data and also the pages that display the data. How to pr...
asked by 22.01.2015 / 15:24
0
answers

Upload buttons selectively via Mysql - Maps API

I have a question about loading pins from a Mysql database. Let's say I have a database that stores several latitudes and longitudes and needs to load some pins from them via the GMaps API. However, this gave me a question: My intention is...
asked by 22.01.2017 / 18:48
0
answers

How to use the inner join in php? [duplicate]

Can anyone help me? I have the following problem: I have 2 tables and in these 2 tables I have the names, being that in the course table I have nome and in the category table I also have the nome field. My question is this: how d...
asked by 24.01.2017 / 19:55
1
answer

Save dynamic form data

The form is created through data obtained from the MySQL database. I would like to save all the data from it by clicking submit. Problem: I can only save one line at a time by creating a button in the same <tr> and with the...
asked by 15.11.2016 / 16:28
1
answer

Error 403 - access forbidden in password validation with Mysql in PHP7 code, how to fix?

Good afternoon guys, I'm taking a course on a PHP real estate portal system that I bought and I packed up for the portal login system. The course uses PHP below version 5 and the instructor uses the automatic login script generation in msql from...
asked by 13.11.2016 / 00:03
0
answers

Compare values in two tables with php and Mysqli

I have to compare if the numbers in table A exist in table B being that if there is one statement but another one. I tried this and it did not work, it does not return anything else. Note: Table B may not have codigo of table A EXAM...
asked by 26.10.2016 / 21:30
0
answers

assign rows from one column to different variables

Good afternoon, I'm a beginner in php and wanted help with a code. I made a query that selects a column and limits 6 rows in descending order, the query worked out fine, however I am having difficulty to proceed. I need now to get the value of E...
asked by 11.10.2016 / 23:36
1
answer

Scroll down chat when receiving new message PHP MYSQL AJAX JAVASCRIPT

I'm searching for about 4 days on how to scroll the scroll bar of my chat when you receive new messages and scroll up to see the previous messages. I made a script using setInterval , but when I try to roll div up, it returns down, get...
asked by 09.10.2016 / 01:27
1
answer

error with MySQLi - not registering in the database

I'm migrating from MySQL to MySQL and have some errors in my script that are not inserting in SQL <?php $host = 'localhost'; $user = 'root'; $pass = ''; $db = 'controleestoque'; // conexão e seleção do banco de dados $con = mysqlI_conne...
asked by 06.11.2016 / 01:38
1
answer

Delay in Massive CodeIgniter ajax processing

My code imports data from one database to another. To avoid server overhead, I'm importing 100 out of 100 records in each ajax. I noticed that in the first requests, it takes about 40ms, but as it sends more requests, the return time grows a lot...
asked by 07.11.2016 / 15:27