Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
amprog_03_ex1 [2017-09-19 15:56] Anders Mosshäll |
amprog_03_ex1 [2022-07-18 13:20] (current) |
||
---|---|---|---|
Line 22: | Line 22: | ||
| | ||
// Skicka mail: | // Skicka mail: | ||
- | $mail_to = 'anders.mosshall@ornskoldsvik.se'; | + | $mail_to = 'example@example.com'; |
$subject = 'Du har fått inlägg'; | $subject = 'Du har fått inlägg'; | ||
- | | + | $message = $_POST[' |
- | $subject = str_replace(" | + | |
- | | + | |
| | ||
mail($mail_to, | mail($mail_to, |