03-12-2010, 11:45 AM
|
#5 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
I have actually noticed what may be the problem (not had my coffee yet, gimme a break), you arnt appending to $downloadiclink but re assigning the value every iteration, thus only one being returned.
PHP Code:
$downloadiclink = "<h3><a href='http://www.downloadic.com/$val[id]-$val[alt_name].html'>$val[title]</a></strong></h3>$val[short_story]<br>";
Should be
PHP Code:
$downloadiclink .= "<h3><a href='http://www.downloadic.com/$val[id]-$val[alt_name].html'>$val[title]</a></strong></h3>$val[short_story]<br>";
My comments above still stand however (in terms of good programming standards)
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|