How do I update one table (namely one record in that table) using info from multipe tables. I tried using a join clause but it didn't seem to work. Heres my basic code.
$query = "update rooms,room_def set rooms.vacancy=room_def.capacity where rooms.bldg_code=room_def.bldg_code and rooms.room_number=room_def.room_number";
that's the query...is it correct?
Thanks
WebStu