In my code I have the following line:

printf("<td align=\"center\"><a href=\"%s\">
<img src=\".xvpics/%s\"></a></td>\n", $row["name"], $row["name"]);

When I view this web page I get I get, in-
konqueror - all thumb images are fine
netscape 6 - no thumb images, just a narrow verticle bar
opera 6 - a rectangle with the word image in it
I tried from work on an nt machine and got broken image icons. 

I have verified all browsers are set to show all images. When I right-click 
and hit show image, so I would view the thumb itself, I don't get the image, 
instead I get the text url to the image.
I've included the full code below.
Any ideas what the cause might be?

Chip W
Windows 95/NT - 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company that can't stand 1 bit of competition.


  <title>Chips Pics</title>
    <table summary="" border="0" align="center" cellpadding="5" 
   $pic = (int) $pic;
    if(! isset($pic))
    { $pic = 0; }
    $conn=mysql_connect("localhost", "chip","carvin") or die ("Could not get 
the databse");
      mysql_select_db("images", $conn) or die ("Could not select the 
      $num = mysql_query("select count(*) from misc") or die(mysql_error());
     $sql="select * from misc limit $pic,24";
     $result=mysql_query($sql) or die ("The query didn't work, oops");
     if (mysql_num_rows($result) == 0)
                echo "<tr>\n<td colspan=\"6\" align=\"center\">\n<font 
size=\"+2\">Oops, you've reached the end of the line.\n<br>\n<a 
        while ($row=mysql_fetch_array($result))
        printf("<td align=\"center\"><a href=\"%s\"><img 
src=\"thumbs/%s\"></a></td>\n", $row["name"], $row["name"]);
        if($i %6==0)
                echo "</tr>\n";
        echo "<tr>\n<td colspan=\"6\" align=\"center\">\n<a 
        echo "<tr>\n<td colspan=\"6\" align=\"center\">\nThere are " 
.mysql_result($num,0,0). " pics in the database</td>\n</tr>\n";

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to