Created temp graph in php