Pass variable to view for HTML email |
Hi, i have this code in my controller:
PHP Code: $formData = \Config\Services::request()->getPost(); The code in my view 'mail': Code: <!DOCTYPE html> I have this error: undefined variable $formData How can is solve this issue and pass the variable to my view 'mail'? Thanks for help me. SOLVED. I put Code: $formData = \Config\Services::request()->getPost(); |
Messages In This Thread |
Pass variable to view for HTML email - by eleumas - 04-05-2023, 09:48 AM
RE: Pass variable to view for HTML email - by JustJohnQ - 04-05-2023, 09:50 AM
|