Added php edit on Paul's advice