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šč | 1827 (1744) | Buffy |
» | PHP KONTAKTOddelek: Izdelava spletišč | 1506 (1343) | rkasteli |
» | Obrazec kontakt pomočOddelek: Izdelava spletišč | 1179 (1023) | Tody |
» | email še enkratOddelek: Izdelava spletišč | 1543 (1334) | Taras_Bulba |
» | checkboxiOddelek: Izdelava spletišč | 1219 (1115) | kopernik |