0
I’m trying to make a select where I want all the data of a person who has the same ip and date equal to today’s date. The reason is that I need to restrict as many times as a person sends contact to my system.
below my code.
$ip = $_SERVER['REMOTE_ADDR'];
$data = date('Y-m-d');
$row = mysql_query("SELECT * FROM tbl_CONTATOS where TXT_ENDIP_CONTT = '.$ip.' and DAT_INCLU_CONTT like '%".$data."%' ");
$count = mysql_num_rows($row);
echo $count; die;
Read that and that.
– user25930