Topic awaiting preservation: can't display all SQL entries |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: PA |
posted 01-15-2004 23:38
ok here's my problem: my code is not retrieving the first entry in every new category. see where it says code: if ($counter != 3){ code: $link = mysql_connect($page_mysqlserver, $page_mysqluser, $page_mysqlpass);
|
Maniac (V) Mad Scientist From: :morF |
posted 01-16-2004 01:15
Try this SQL instead: |
Bipolar (III) Inmate From: PA |
posted 01-16-2004 01:55
still happening. funny thing is it seems to be excluding every 4th entry now that i look at it closer. must have something to do with the ($counter != 3). if i change it to ($counter != 3 | | $counter == 3) i get all entries, but it doesn't create a new row which was the point in the first place... hrmm... |
Bipolar (III) Inmate From: PA |
posted 01-16-2004 01:57
nevermind. i fixed it... added the same line code: echo "<td align='left' width=76> <IMG SRC='images/thumbs/".strtolower($ID). "_thumb.jpg'></td><TD align='left'>". $label."<br>".$type."</TD>"; into the else statement and that solved the problem. guess i just needed to know someone cared! ha! thanks. |