posted 7 years ago
Hello All.
I need some help with retrieving some data from my PHP server. I expect some data to be shown, but I see none. I followed a couple Youtube tutorials - they all said the same thing. When I tried it it, I did not get the desired result.
Here is the code that I used:
Here is the text of the PHP My Admin screen(to show that I have some data):
Full texts
ID
PRODUCT_NAME
PRODUCT_NOTES
SHOP_URL
SHOP_NAME
PRODUCT_LOCATION
2
Hi
Hi
HI
HI
Hi
.
This is what I get when I run it, and $_POST['product']= Hi.
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\product\getdata.php on line 41
Product Name Product Notes Shop URL Shop Name Product Location
All help would be greatly appreciated.