Hello, newb here with a question.
I'm attempting to build a simple shopping cart, this is my first time doing so and I am getting an error message which reads as follows:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in
Any help would be greatly appreciated as I'm google this error messag a bit and seen so many possible options that my mind turned to goop.
Again thank you for any help/direction possible.
This is the code starting with line #42
<span class="label-txt">PRODUCTS (TAKE Displayed things from here)</span>
<div class="content drag-desired">
$result = mysql_query("SELECT * FROM internet_shop");
echo '<div class="product"><img src="_img/products/'.$row['img'].'" alt="'.htmlspecialchars($row['name']).'" width="128" height="128" class="pngfix" /></div>';