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.
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. but please i need assistance with this
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. but please i need assistance with this