What is the MySQL command to retrieve the count of records in a table?
$sql="SELECT count(*) as toplam FROM wp_postmeta WHERE meta_key='ICERIK' AND post_id=".$id; $total = 0; $sqls = mysql_query($sql,$conn); if ( $sqls ) { $total = mysql_result($sqls, 0); }; echo "Total:".$total;`