jailduck
New Coder
Im working on website that is linked to phpmyadmin database. the goal of this is to allow users to input data, search the data and display it and delete a record. these records being information for clients. but I'm having issues with the data being inserted into the database using the front end. this is my error. i would also like to point out that i am not getting any errors on my IDE and i have xxamp running while attempting this project. xxamp is running both MySQL and apache services, xxamp is running as administrator.

VM327:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<br />
<b>"... is not valid JSON
i am using VS code IDE and so far i have 1html file, 1js file, 5php files and a CSS file
HTML is my main interface
js passes the function from PHP to my HTML
my 5php files are:
i also would like to mention that i am fairly new to programming so i may not understand more advanced terms or simple terms. if you guys want to see my source code i will gladly send it. If anyone can help with this i would greatly appreciate it. thank you guys in advance


VM327:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<br />
<b>"... is not valid JSON
i am using VS code IDE and so far i have 1html file, 1js file, 5php files and a CSS file
HTML is my main interface
js passes the function from PHP to my HTML
my 5php files are:
- database connection
- delete function
- Search function
- insert function
- functions (in this one i declared what search, delete and insert do)
i also would like to mention that i am fairly new to programming so i may not understand more advanced terms or simple terms. if you guys want to see my source code i will gladly send it. If anyone can help with this i would greatly appreciate it. thank you guys in advance
