Hi all...
I want to select all rows ...which are between one date for example
$query = "select * from kontragenti where data1>2004-01-01 and data1<2004-12-31";
$result = mysql_query($query);
if (!$result) echo 'Query could not be done!';
else {
while ( $row = mysql_fetch_array($result)) {
/////////
echo("$row[0] , $row[1], $row[2], $row[3], $row[4]");
echo("<br>");
}
}
But none of this works ...
I want to dispaly all rows which date1 are between 01.01 nad 31.12 ..but no luck
How should I fix this ..?
P.S. The date1 column type is date in the format 0000-00-00