while ($story = mysql_fetch_array($result)) {
if ($cnt >= 2) $cnt = 0;
$cnt = $cnt + 1;
$audio_error = "";
$video_error = "";
$error = "";
$audio_error = (substr($story['audio'],0,7));
$video_error = (substr($story['video'],0,7));
if (($audio_error =="Invalid") || ($video_error =="Invalid"))
{
if ($audio_error =="Invalid")
$audio_error = "$audio_error
";
if ($video_error =="Invalid")
$video_error = "$video_error
";
$error ="yes";
}
print '
".$story['headline']." ".$audio_error.$video_error." |