I am working with a email program which echo's messages, such as, "Please fill-in all fields" and "Message Sent".
How can I increase the size and change the font color, or even add blinking to the text?
Houdi :rocker:<span style="any css you want here"><?php echo...etc.. ?></span>can't seen to get syntax in right spot, here's what i am working with . . .
<?php
if ($submit) {
if($name && $email && $message ) {all
mail("[email protected]","$subject","$message","From: $name <$email>") or die("email error");
echo "Message Sent";
} else {
echo "All fields must be filled in!<BR>";
}
}
?>
Houdi :rocker:I've just edited it so the messages can be formatted. All I've done is break out of PHP when necessary and add the relevant HTML tags then go back to php.
<?php
if ($submit) {
if($name && $email && $message ) {all
mail("[email protected]","$subject","$message","From: $name <$email>") or die("email error");
?><font color="blue"><!-- all other html code etc --><?
echo "Message Sent";
?></font><?
} else {
?><!-- html tags, even blinking text etc --><?
echo "All fields must be filled in!<BR>";
}
}
?>
Hope this helps you outwow, kewl, thks, everyone! I'll try it!
Houdi :rocker:it is not rocket science
<?php
if ($submit) {
if($name && $email && $message ) {all
mail("[email protected]","$subject","$message","From: $name <$email>") or die("email error");
echo "<span style=\"color:blue\">Message Sent</span>";
} else {
echo "<span style=\"color:red\">All fields must be filled in!</span><BR>";
}
}
?>No most things aren't rocket science. Matter of fact nothing is rocket science, but rocket science itself. And I appreciate it the same.
Houdi :rocker:
How can I increase the size and change the font color, or even add blinking to the text?
Houdi :rocker:<span style="any css you want here"><?php echo...etc.. ?></span>can't seen to get syntax in right spot, here's what i am working with . . .
<?php
if ($submit) {
if($name && $email && $message ) {all
mail("[email protected]","$subject","$message","From: $name <$email>") or die("email error");
echo "Message Sent";
} else {
echo "All fields must be filled in!<BR>";
}
}
?>
Houdi :rocker:I've just edited it so the messages can be formatted. All I've done is break out of PHP when necessary and add the relevant HTML tags then go back to php.
<?php
if ($submit) {
if($name && $email && $message ) {all
mail("[email protected]","$subject","$message","From: $name <$email>") or die("email error");
?><font color="blue"><!-- all other html code etc --><?
echo "Message Sent";
?></font><?
} else {
?><!-- html tags, even blinking text etc --><?
echo "All fields must be filled in!<BR>";
}
}
?>
Hope this helps you outwow, kewl, thks, everyone! I'll try it!
Houdi :rocker:it is not rocket science
<?php
if ($submit) {
if($name && $email && $message ) {all
mail("[email protected]","$subject","$message","From: $name <$email>") or die("email error");
echo "<span style=\"color:blue\">Message Sent</span>";
} else {
echo "<span style=\"color:red\">All fields must be filled in!</span><BR>";
}
}
?>No most things aren't rocket science. Matter of fact nothing is rocket science, but rocket science itself. And I appreciate it the same.
Houdi :rocker: