This is probably a simple error in my part, but would appreciate some advise to correct this
I get this error after installing the widget on the home page:
Table '*****_****simvb4.pp_photos' doesn't exist
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
===============================================
Disregard above, figured that one out
Now I don't have a photos showing. Here is my code, what did I do wrong. Photopost is in the root public_html/photopost and my forum (vB) is here public_html/forums/
If I right click on empty image and select show image in new tab, I get "Photo not found in the database!"
PHP Code:
ob_start();
$result = mysql_query("SELECT id,cat,bigimage FROM pp_photos order by rand() LIMIT 1" ) or die(mysql_error());
while($row = mysql_fetch_array( $result )) {
print "<div align=\"center\"><a href=\"photopost/showphoto.php/photo/" . $row['id'] . "\"><img src=\"photopost/data/" . $row['cat'] . "/thumbs/" . $row['bigimage'] . "\"></a><br /><a href=\"/photopost\">See more photos in the Gallery</a></div>";
}