\n\n"; echo "\n" ."\n" ."DavesDaily - Funny Videos\n" ."http://www.davesdaily.com\n" ."Funny, Strange, Bizarre News Stories and Media\n" ."en-us\n\n"; if ($start=="") { $start = 0; } $result = mysql_query("select title, description, keyword, keywords, screenshot from content where changed='0' AND type='2' order by id desc limit $start,40"); while(list($otitle, $odescription, $okeyword, $okeywords, $ofilename) = mysql_fetch_row($result)) { $otitle = stripslashes($otitle); $odescription = stripslashes($odescription); $badchars = array("+","'", "£", "*", "(", ")", "<", ">", "[", "]", "{", "}", "$"); $otitle = str_replace($badchars, "", $otitle); $odescription = str_replace($badchars, "", $odescription); echo "\n" ."$otitle\n" ."http://www.davesdaily.com/videoclips/$okeyword.htm\n" ."$odescription\n" ."$servername"."thumbs/$ofilename\n" #."$showdate\n" ."\n\n"; } echo "" .""; ?>