Public Voice Network
- Battlefield 3 305305
- Outfit of the Day 11
- Beeeees! 1111
- New York 88
- alternatives to chrome?? 44
- Aging = Scary 44
- Pic of the Day 6330263302
- Music over 5.1 System 66
- FACE EATER 1212
- Chick of the Day 1538215382
- Random Fascinations? 55
- the gif animation thread 1283412834
- What is THEIR work? 55
- Meme of the day 1414
- Letterpress process video 33
- News of the day... 137137
- Video Cameras Under $2000 77
- ATTN: Greedy Republicans 2323
- Show your latest Pics 32943294
- XBMC 33
- what happened? 2222
- F1 2012 1919
- Vid of the Day 1203312033
- paper trail 88
PHP scroll question 88 Responses
Last post: 2 years, 2 months ago | Thread started: Mar 11, 10, 9:40 a.m.
Out of context: Response #2 [Mar 11, 10, 9:40 a.m.]
- Claymantis
on my products.php page I have...
<div id="scroll_links">
<?php
mysql_select_db($db_dbase, $connect);
$result = mysql_query("SELECT * FROM products WHERE `cat` = '$catid' ORDER BY `name` ASC");if (mysql_num_rows($result) > 3) {
?>
<a href="#" class="click_up_by_134" title="Click to scroll"><img src="images/products_up.gif" alt="up" /></a>
<a href="#" class="click_down_by_134" title="Click to scroll"><img src="images/products_down.gif" alt="up" /></a>
<?php
} else {
?>
<div id="scrolldeaden"></div>
<?php
}
?>
</div>

- View thread



