Right now I'm just trying to do this within phpmyadmin console. Later I'll take the working solution and run it through PHP.
update worksheet2 SET `cascade-order` = (select `cascade-order` from worksheet_bak where sid = 56 ORDER BY wid DESC LIMIT 1;), SET `cascade-name` = (select `cascade-name` from worksheet_bak where sid = 56 ORDER BY wid DESC LIMIT 1;), SET levels = (select levels from worksheet_bak where sid = 56 ORDER BY `worksheet_bak`.`WID` DESC LIMIT 1;) WHERE sid = 56 and sub = 'nums';
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.