Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Photo Gallery 1..0 Contribution Error


global

Recommended Posts

I just installed PHOTO GALLERY 1.0 ONTO MY CATALOG. THE FOLLOWING ERROR POPS UP EVERYTIME I CLICK ON CLICK HERE TO VIEW PHOTO GALLERY

 

 

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/local/plesk/apache/vhosts/rioexposederoticvideo.com/httpdocs/catalogrio/popup_image.php on line 103

1

Close Window [x]

 

 

Line 103 starts with while

 

Here a copy of the code. I'm new to php so I appreciate the help

<?php

while ($result=mysql_fetch_array($query)) {

$title= $result["title"];

$photo= $result["photo"];

// Using HTML "img" tags for the photos, it selects the photo by it's "id" number

 

 

 

echo ("</p><p class=\"main\"><center><img src=\"gallery/$pID/$photo\" border=0></center>

 

<HR width=90% noshade color=#000000 size=1></p>");

 

}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...