<?php
include('db.php');
$result = mysqli_query($dblink, "SELECT * FROM content ORDER BY encoded_date DESC");
while($row = mysqli_fetch_assoc($result)) {
echo "Processing $row[record_num] - $row[title]\n";
updateRelatedVideos($row['record_num']);
}
exit("Done");
?>