Hi,
I wanted to summarize the data sent by the form user in the Thanks Message action in OnSubmit and coded it with php. Unfortunately that gave a mess, showing parts of my code in the frontend. To check if my code was incorrect, I choose a simple example, but it still comes messy:
[attachment=0]thanks-message-php-frontpage.png[/attachment]
This is the code:
I didn't find any topic here describing my experience, so I wonder where I made an obvious mistake.
Regards,
Herbert
I wanted to summarize the data sent by the form user in the Thanks Message action in OnSubmit and coded it with php. Unfortunately that gave a mess, showing parts of my code in the frontend. To check if my code was incorrect, I choose a simple example, but it still comes messy:
[attachment=0]thanks-message-php-frontpage.png[/attachment]
This is the code:
<?php
echo "<h3>Thank you!</h3>";
?>
I didn't find any topic here describing my experience, so I wonder where I made an obvious mistake.
Regards,
Herbert