You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql = "SELECT posintz.id as posid, masterplate.id as mpid FROM posintz JOIN masterplate ON (masterplate.tz_id=posintz.tz_id AND masterplate.posintz=posintz.posintz)";
$res = sql::fetchAll ( $sql );
foreach ( $res as $rs ) {
$sql = "UPDATE masterplate SET posid='" . $rs ["posid"] . "' WHERE id='" . $rs ["mpid"] . "'";