Its showing register_insert.php is not found. What should be the correct path? Please help. Here is my code
constructor(private httpClient: HttpClient) { }
insertData() {
this.httpClient.post(
"register_insert.php",
{
'fullname':this.fullname,
'email':this.email,
'role':this.role,
'typee':this.typee,
'password':this.password,
}
).subscribe((data) => {
alert("inserted");
this.fullname = null;
this.email = null;
this.role = null;
this.typee = null;
this.password = null;
});
}