Forum » Programiranje » mailing list / Newsletter
mailing list / Newsletter
mwrave ::
Hello,
I want to create a simple mailing list or newsletter but I have problems with requesting email...
Situation:
form.html:
form action="send.php" id="1" method="POST">
input type="checkbox" name="email0" value="email_one@mydomain.com">
input type="checkbox" name="email1" value="email_two@mydomain.com">
input type="checkbox" name="email2" value="email_three@mydomain.com">
input type="submit" value="SUBmIT">
/form>
-----------------------------
send.php:
I want to $_REQUEST email array separately so I can send mails separately - to each email its own email ..
Can somebody help? Thanks
I want to create a simple mailing list or newsletter but I have problems with requesting email...
Situation:
form.html:
form action="send.php" id="1" method="POST">
input type="checkbox" name="email0" value="email_one@mydomain.com">
input type="checkbox" name="email1" value="email_two@mydomain.com">
input type="checkbox" name="email2" value="email_three@mydomain.com">
input type="submit" value="SUBmIT">
/form>
-----------------------------
send.php:
I want to $_REQUEST email array separately so I can send mails separately - to each email its own email ..
Can somebody help? Thanks
vojko20 ::
if ($_POST["email0"]) {
send email0
}
if ($_POST["email1"]) {
send email1
}
if ($_POST["email2"]) {
send email2
}
send email0
}
if ($_POST["email1"]) {
send email1
}
if ($_POST["email2"]) {
send email2
}
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | js generiran input hidden noče biti POSTan z phpOddelek: Izdelava spletišč | 1812 (1729) | Buffy |
» | PHP KONTAKTOddelek: Izdelava spletišč | 1495 (1332) | rkasteli |
» | Obrazec kontakt pomočOddelek: Izdelava spletišč | 1168 (1012) | Tody |
» | email še enkratOddelek: Izdelava spletišč | 1529 (1320) | Taras_Bulba |
» | checkboxiOddelek: Izdelava spletišč | 1207 (1103) | kopernik |