LONDON (AFP) - Prime Minister David Cameron made a public admission of regret over Britain's phone-hacking scandal Wednesday, saying with hindsight he would not have hired a former tabloid editor as his media chief. As media mogul Rupert Murdoch wrapped up a turbulent visit to Britain, Cameron made a statement during a stormy emergency session of parliament defending his original decision to employ ex-News of the World editor Andy Coulson. But a day after cutting short a trip to Africa to confront the crisis, the under-pressure Conservative leader conceded he would not have employed Coulson had he been able to predict the furore of recent weeks. "With 20-20 hindsight and all that has followed, I would not have offered him the job and I expect that he wouldn't have taken it," Cameron said amid jeers from opposition lawmakers. "You live and you learn and believe you me, I have learned." Coulson resigned as Downing Street communications director in January. He was arrested on July 8 on suspicion of phone-hacking and paying police for information, but denies any wrongdoing. Cameron refused to cut Coulson loose, however, telling lawmakers: "I have an old-fashioned view about innocent until proven guilty but if it turns out I have been lied to that would be a moment for a profound apology." Opposition Labour party leader Ed Miliband demanded a full apology from Cameron, accusing him of a "deliberate attempt to hide from the facts about Mr Coulson." The scandal has so far forced Murdoch to close down the News of the World, claimed the jobs of two of his top aides, and has rocked his global News Corporation empire while also forcing two senior British policemen to resign. Australian-born Murdoch, now a US citizen, flew out of Britain on his private jet Wednesday after an 11-day visit during which lawmakers grilled him on what he termed the "most humble day of my life". Parliament speaker John Bercow announced an inquiry into how a protester was able to attack Murdoch with a foam filled "custard pie" at the parliamentary hearing on Tuesday, at which Murdoch's son James was also questioned.