Hi
I know this is separate from Coffee Cup software so I am posting it here and hoping some kind folks can help me
I think is code to send an e-mail to support but it is flagging an error and being a complete noob,I am at a loss to know why?
<?php
if (isset($_POST['contact_submit']) && !empty($_POST['name'])) {
$billic->email('support@xxxxxxxxx.co.uk', 'Message from '.$_POST['name'], 'Email: '.$_POST['email'].'<br>Mobile: '.$_POST['mobile'].'<br><br>'.$_POST['message']);
$message = 'Message Sent!';
echo '<script>alert(\''.$message.'\');</script><h1 style="color:green;text-weight:bold">'.$message.'</h1>';
}
?>
Does it look okay or should I tweak it?
Thanks in advance
Help with snippet of code - Post ID...
What does the error say?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.