Pull out php code