Fixed undefined method in Business Inquiry
How did this work in the first place?
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$contact = replace("..", "", $_POST["contact"]);
|
$contact = str_replace("..", "", $_POST["contact"]);
|
||||||
$recipient = $_POST['mail'];
|
$recipient = $_POST['mail'];
|
||||||
$msg = "Thank you for contacting LoremCorp.\n<br>";
|
$msg = "Thank you for contacting LoremCorp.\n<br>";
|
||||||
$msg .= "The contact you selected will get back to you as sool as possible.\n<br>";
|
$msg .= "The contact you selected will get back to you as sool as possible.\n<br>";
|
||||||
@@ -25,4 +25,4 @@ mail($recipient,"We have received your email!",$msg, $headers);
|
|||||||
</style>
|
</style>
|
||||||
<div id="thanks">You will receive a confirmation E-Mail shortly. <br>
|
<div id="thanks">You will receive a confirmation E-Mail shortly. <br>
|
||||||
Thank you for contacting us!<br>
|
Thank you for contacting us!<br>
|
||||||
<a href="/index.html">Return to our homepage</a></div>
|
<a href="/index.html">Return to our homepage</a></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user