Problem with inserting data into database


#1

hi guys, I’ve been working on a project concerning a form submission to the database.
I have written some server side PHP and ts file. somehow its not working could you care to look…

php:

contact.ts:

the todo{} contains all the data that my form collects. I tried to set this.name = this.todo.name; somehow it says error when I tries to do so.

I am really new to this so please help me out.


#3

@codiqa100080936 console.log(this.todo) shows the entries done in a form…in this case some user details in an array