Copy link to clipboard
Copied
I already have the code, but I don't know if it's set up properly. How do I link the pages or set it up so that the script sends the form info to the email I have listed? Do I link the .php file in the same manner as I would a CSS page, or do I leave them separate? In all, I want the form sent to an email, and then I want the user to be redirected to another page.
Copy link to clipboard
Copied
>Do I link the .php file in the same manner as I would a CSS page
No. The form tags action attribute should contan the path to your PHP script.
>In all, I want the form sent to an email, and then
>I want the user to be redirected to another page.
That is all controlled by the script you are using. Many scripts look for a hidden form field to tell it where to redirect the user after processing. If you post your script we can give you more details.
Copy link to clipboard
Copied
I ended up getting it working. The largest issue I was having was remembering to set my formaction. Thank you for the help.