getNumRecs(); if(!($_GET['page'])) $_GET['page']=1; $start = ($_GET['page']-1)*$numRecs; $sql = "SELECT * from photo order by Id desc limit $start,$numRecs"; $result = mysql_query($sql) or die("Could not find pics. ".mysql_error()); while($row=mysql_fetch_array($result)) { $pic = $row["Thumbnail"]; $id = $row["Id"]; ?>
displayRecords($_GET['page']); ?>
Announcing...
", stripslashes($row["Story"])); $array = explode(" ", $body); for($j=0; $j<30; $j++) echo "$array[$j] "; if($array[$j++]) echo "..."; ?> MORE>