function loadNewswireItems() { $result = mysql_query("SELECT * FROM newswire_tb ORDER BY id DESC LIMIT 1000"); $total = mysql_num_rows($result); echo "total: " . $total . "<br>"; while ($row = mysql_fetch_assoc($result)) { checkTweets($row); } }
function loadNewswireItems() { $result = mysql_query("SELECT * FROM newswire_tb"); $total = mysql_num_rows($result); echo "total: " . $total . "<br>"; while ($row = mysql_fetch_assoc($result)) { checkTweets($row); } echo "<br /><br /><h1>COMPLETE</h1>"; }