Hi I want to search the items present in the table users. The code I wrote is
$fromdate = date("Y-m-d H:i:s", strtotime($_POST['fromdate'])); $todate = date("Y-m-d H:i:s", strtotime($_POST['todate'])); $s="SELECT * FROM logs WHERE dt BETWEEN $fromdate AND $todate ORDER BY dt DESC "; $x = mysql_query($s); But the output is not showing. Please someone help me.