Error in connecting mysql database with my extjs form

Error in connecting mysql database with my extjs form

Im new to extjs and im trying to connect a form made by extjs to mysql database by a php file. the code i wrote looks fine to me i just cant see whats wrong, an error appears everytime i try to submit the form telling me Ext Error: you're trying to decode an invalid JSON string