Afternoon,
I have a form field:
<select name="rowdata[<?PHP echo $cnt; ?>][ORFacility]">
I want to use that variable to update a table this is the query:
$setFacilityID = "update tblTrailersOnRoad
set ORFacilityID = tblLocation.FacilityID
from tblTrailersOnRoad, tblLocation
where tblTrailersOnRoad.ORFacility = tblLocation.Facility
AND ORDate = '$ORDate'";
mssql_query($setFacilityID);
Everything else works except this so I'm guessing I just can't get the name right.
Any thoughts would be greatly appreciated.
Thanks so much
Laura