Hi,what mysql_free_result do in this code.
if(!isset($screen))
$screen=0;
$start=$screen*$rows_per_page; //setting the start point of each page
$sql="SELECT filename FROM PicInfo";
$sql.="LIMIT $start,$rows_per_page";
$result=mysql_query($sql,$db); //getting links from database
$total_records=mysql_num_rows($result); //the number of the links
$pages=ceil($total_records/$rows_per_page); // number of pages
mysql_free_result($result); //???????????
Thanks !