I am trying to select the date and see if the data i am inserting has been updated using the L_Modified field.
L_Modified = 10/21/2007
$sql_check = "SELECT * listings WHERE L_uid='".$fields[20]."' AND L_Modified < '".$fields[46]."'";
$fields[46] = 12/2/2007
$fields[20] = 1
basically I am trying to do the following:
L_Modified < $fields[46] then update record if not then dont do anything