Thread: Mega Scrape
View Single Post
  #6  
Old 11th March 2013, 00:40
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
try this

change

PHP Code:
$res=mysql_query("SELECT id, name, info_hash,announce FROM torrents WHERE updated = '0' ORDER BY id DESC LIMIT 5");

    while (
$row=mysql_fetch_assoc($res)) {//do the scrape 
to

PHP Code:
$query_string "SELECT id, name, info_hash, announce FROM torrents WHERE updated = '0' ORDER BY id DESC LIMIT 5";
$query mysql_query($query_string) or die(mysql_error());

    while (
$row mysql_fetch_assoc($query)) {//do the scrape 
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote