Vicky Moore

Greenhorn
+ Follow
since May 28, 2017
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vicky Moore

Thank you. I just would like to know which SQL you are talking about.
5 years ago
PHP
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.

5 years ago
PHP