fetch_array(); $space = strpos(strip_tags($sql[sms])," ",200); $title = substr(strip_tags($sql[sms]),0,$space); $title = preg_replace('/[^a-zA-Z0-9-]/'," ",stripslashes($title)); $title = preg_replace('/--+/',"-",ucfirst($title)); $title = str_replace('"',"-",$title); $space2 = strpos(strip_tags($sql[sms])," ",40); $title2 = substr(strip_tags($sql[sms]),0,$space2); $title2 = preg_replace('/[^a-zA-Z0-9-]/'," ",stripslashes($title2)); $title2 = preg_replace('/\s\s+/'," ",ucfirst($title2)); $title2 = str_replace('"',"-",$title2); $title2 = substr(strip_tags($title2),0,40); ?> <? echo ucwords($title2) . "... ". $jokes_catdash ?> jokes collection, fun Maximum "/> jokes, jokes, jokes collection, fun maximum" /> "/> <? echo $jokes_catdash ?> Jokes, <? echo $jokes_catdash ?> Jokes collection,largest <? echo $jokes_catdash ?> Jokes collection, read <? echo $jokes_catdash ?> Jokes, fun Maximum " ; } else { echo "" ; } } ?>