Jump to content

Php in template


neti_treves

Recommended Posts

Hi there,
I am trying to make possible for users to order out of stock items. Basically, I am substituting the "out of stock" warning with a link to the contact form.

I would like to have a pre-filled contact form with the book title and author. I'm okay with using a simple GET method (doable through a link)

However, when I try to include a basic "<?php echo $_GET['pre-message']?>" in the textarea it stamps the code as it is.

Is there a way to execute it?

If not, how can I do that? (For instance, is there a way to set the $MESSAGE.enquiry variable?)

Thanks!

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...