mysqli_fetch_array() ? |
mysqli_fetch_array() ? |
tudsy |
Jul 2 2021, 07:01 AM
Post
#1
|
Advanced Member Group: Members Posts: 248 Joined: 30-September 14 Member No.: 21,611 |
Hi
I am having problems fetching the data from a query result. Any help will be greatly appreciated. $qry = mysqli_query($conn,"SELECT * FROM CustomersArt WHERE CustomersArtitemid ='$id'"); // select query $data_e = mysqli_fetch_array($qry,MYSQLI_BOTH); // fetch data $conn is the database connection This post has been edited by tudsy: Jul 2 2021, 07:09 AM |
Brian Chandler |
Jul 2 2021, 01:15 PM
Post
#2
|
Jocular coder Group: Members Posts: 2,476 Joined: 31-August 06 Member No.: 43 |
Looks all right - what is the problem? What do you get? Have you tried using print_r() to check what is returned in $data_e?
Do you understand what "debugging" means? It means that the way to change a non-working program to a working program is not just asking people what they think is wrong with it, but finding out yourself. Check what the intermediate results are. This is the fourth(?) time I have responded to one of your questions... and you don't appear to be listening. |
Lo-Fi Version | Time is now: 25th September 2024 - 06:52 AM |