i was wondering if something like this is possible. I keep getting an error message on the select state even though a user comment in the mysql documentation says it is possible. The query lookes like this
UPDATE tmp_report_info
SET grounddate_del ='(SELECT pac_date
FROM tmp_actual_materials
WHERE lotid=".$row['lotid']." AND main_phase = 'Ground')' WHERE lotid = ".$row['lotid'][/code]
Tried to format a little don't know if its going to help or makes this worse. Any thoughts would help. Thanks
Mike