Fixed it. To be honest, I forgot how I did it... Just had to get rid of one of the parameters in the requesting from the php.