hello all,
this is what i use to show the the data from mysql.
My question is what do i need to change here to show only duplicated entries according to topic field.
Thanks all.
this is what i use to show the the data from mysql.
PHP:
// i use this to get the total count for pagination.
$query = "SELECT COUNT(*) as num FROM file ";
$total_pages = mysql_fetch_array(mysql_query($query));
$total_pages = $total_pages[num];
/* my codes continues.................*/
// i use this to get the data
$sql = "SELECT * FROM file ORDER BY topic DESC LIMIT $start, $limit";
$result = mysql_query($sql);
My question is what do i need to change here to show only duplicated entries according to topic field.
Thanks all.








