In phpMyAdmin SQL works fine with a WHERE clause in double quotes: With PHP it doesn't work, no data is returned: But if I remove a WHERE clause ...
In phpMyAdmin SQL works fine with a WHERE clause in double quotes: With PHP it doesn't work, no data is returned: But if I remove a WHERE clause ...
I have this in my database: This is the output i expect: If there was a large amount of records, how could i do this in bulk amount? performance ...
A simple example Returns (prettyfied) What's wrong? Am I just misunderstanding how to get values from mysqli_multi_query? Why does it return 0 i ...
I have two tables, one 'comment' and the other 'pendingcomment'. I want when I copy the data of the 'pendingcomment' in the 'comment' table then that ...
I'm new to php. I'm trying to execute the queries below. I know I have to use mysqli_multi_query but all my tries so far have given me error. How do I ...
I have a multi line-command query that I want to execute. The query includes creating temporary tables and returning a table by using them. The code I ...
I am iterating rows of a csv file. On row 1, I call stored procedure (import_extended_data_sp) and it succeeds. On row 2, the call fails with : ...
I have seven SQL queries that are being executed using the mysqli_multi_query function: Each of the seven queries returns only one element per row, ...
I have a function that is designed to copy a product with all attributes with help of sql querys. My problem is to return new_product_id to php after ...
I'm trying to get an echo of the column names (except the first column) of a table from my database. I used the code below. In my div I get the echo " ...
here Iam trying to fetch two table data based on one column 'createdon' and my statement is like below would anyone correct me please, if Iam wrong ...
When I'm using mysqli_query, website after submitting the form reloads with visible change, but if I use mysqli_multi_query to change more than one ta ...
I'm using the below code in order to insert a text into the db and also to insert the current time (time only not date) but I'm getting the below ...
I am struggling to understand how multi queries work. I want to insert data from one table into another, then delete the data from the original table ...
I have some PHP code to execute multi queries and one of the queries has an error in it. But PHP is not detecting it. Here's the code The query tha ...
I am developing a page for stock maintenance. I am encountering a bizarre issue. When I run the PHP through AJAX everything works fine except for the ...
I am building a website and I need a query to return users based on proximity using gps coordinates, but also only if the user also has a photo that i ...
I simply tried using "mysqli_multi_query" function in my php code (Queries are separated by semi-colon) and it inserts data correctly. I'm not getti ...
The documentation of mysqli_multi_query and mysqli_query doesn't say if calling mysqli_multi_query is the same as calling mysqli_query multiple times. ...
So I'm trying to create a table and then insert multiple values into it, like so: Where the someInteger bits are, of course, integers. And then: ...