简体   繁体   中英

ERROR SyntaxError: Unexpected token < in JSON at position 0 in ionic 3

I am trying to push registered users details to mysql using php and i get the eror above please help fix.Below are the images of my codes php file to push data to mysql

php config

provider

your problem exists in php file. it is returning error instead of valid json response. looking at php error_log will tell you what is the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM