RE: [PHP-DB] odd results when running this

2005-01-28 Thread Chip Wiegand
and reduce the code to pretty much what i had... > > bastien > > >From: Chip Wiegand <[EMAIL PROTECTED]> > >To: php-db@lists.php.net > >Subject: RE: [PHP-DB] odd results when running this > >Date: Fri, 28 Jan 2005 09:17:35 -0800 > > > >Thanks fo

RE: [PHP-DB] odd results when running this

2005-01-28 Thread Bastien Koert
name in the db with all the other data as a separate field...then you just fill in the image dataand reduce the code to pretty much what i had... bastien From: Chip Wiegand <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: RE: [PHP-DB] odd results when running this Date: Fri, 28 Ja

RE: [PHP-DB] odd results when running this

2005-01-28 Thread Chip Wiegand
rom hotspots"; > $result = mysql_query($sql); > $x = 1; > > while ( $row = mysql_fetch_array($result)) >{ > printf(" title=\"%s\">%s", $row["alt-text"], > $row["title-text"], $row["desc-text"]); >$x++; >}

Re: [PHP-DB] odd results when running this

2005-01-28 Thread Martin Norland
Chip Wiegand wrote: Okay, so I have got the php bits working in this web page but it is running 3 times every time the page loads, and I see no reason why (I have opened this page in two differant browsers). The code for the entire page is pasted below, it includes some calls to include files wh

RE: [PHP-DB] odd results when running this

2005-01-28 Thread Bastien Koert
$x++; } ?> bastien From: Chip Wiegand <[EMAIL PROTECTED]> To: "PHP DB" Subject: [PHP-DB] odd results when running this Date: Fri, 28 Jan 2005 07:41:30 -0800 Okay, so I have got the php bits working in this web page but it is running 3 times every time the page loads, and I

[PHP-DB] odd results when running this

2005-01-28 Thread Chip Wiegand
Okay, so I have got the php bits working in this web page but it is running 3 times every time the page loads, and I see no reason why (I have opened this page in two differant browsers). The code for the entire page is pasted below, it includes some calls to include files which are not include