CI 4 contact form with configuration |
well lets be generous today with some pointers.
The basics are look into a simple form. It has fields with labels , i.e names The form will use "POST" to some controller. IN that controller you get get what a web surfer entered using : $this->request->getVar('name'); where name is the label given to the text field in the form. Once you collate what the user entered and considered security i.e clean up what a malicious user might do , its then just a case of sending that info to your own email. If you search this forum i have already set out how that can be done using PHPMailer. You an also use CI4 approach i.e their own email system |
Messages In This Thread |
CI 4 contact form with configuration - by Jeewakapk - 04-16-2021, 02:48 AM
RE: CI 4 contact form with configuration - by InsiteFX - 04-16-2021, 11:57 AM
RE: CI 4 contact form with configuration - by davis.lasis - 04-16-2021, 01:02 PM
RE: CI 4 contact form with configuration - by captain-sensible - 04-16-2021, 02:23 PM
|