"; while($datas = mysql_fetch_array($rc)){ if($ctr==1) $contents .= ""; $catlink = str_replace(" ","_",$datas[catname]); $contents .= ""; if($ctr > 1){ $contents .= ""; $ctr=0; } $ctr++; } $contents .= "
 $datas[catname]
$datas[catdescription]
"; $sq = "SELECT * FROM sites where status = '1' order by siteid desc limit 10"; $rec = mysql_query($sq) or die(mysql_error()); $contents .= "
New scripts
"; while($datas=mysql_fetch_array($rec)){ $links = str_replace(" ","_",$datas[sitetitle]); $catname = str_replace(" ","_",$datas[catname]); $desc = substr($datas[sitedescription],0,strpos($datas[sitedescription],".") + 1); $contents .= "
$datas[sitetitle]
$datas[catname]


$desc


"; } $heading = " PHP Scripts | ASP Scripts | Programming | JavaScript, Java"; $title = " PHP Scripts | ASP Scripts | Programming | JavaScript, Java "; include "template.php"; ?>