Skip to content

Tag: angular

how to call php mail file inside angular project?

I have created single page application using angular which contains contact form. for contact form i have used php mail function. I’m keeping that php file inside assets folder of angular project. I am using angular HTTPCLIENT module to call that contact php file using below code in component: Service C…

Unable to post angular form data using web api

contact.component.html contact.component.ts api.service.ts create.php I am new in angular and I am simply trying to insert angular form data in mysql using web api. Now, What happen here when I try to read data from database it work perfectly and all data are showing in my console. But when I fill form data t…

Get data passed as queryparams from Angular in Php?

If i am sending data in query params from angular application i need to get those data in php from url. I am not familiar to php. Can anyone help me out yr? Answer Pass a link in url for testing let say localhost/test/test.php?link=www.google.com

Angular – PHP -> send mail null php values

I need help in my code, I’m trying to send a FormData from Angular to PHP and later send a mail, always appears the PHP vars empty, I’m doing something wrong and doesn’t see what On the HTML use formGroup and ngSubmit My HTML code: On the Ts use the FormControl Validators and the http.post t…

Angular file input, How to get file on php?

I have recived all the infromation by my form, but I can´t get the name or size of the input file, so i can´t use $_FILES by php HTML – input file Angular – Add file input to form (formaA : FormGroup) Angular – Create request Angular – Send request Web – Json request PHP – …