Added the fetch php codes