Add php code to static html

Permalink Browser Info Environment
Can the static html have php code so that based on the value of a select (drop down), the static html changes?

Type: Pre-Sale
Status: Resolved
cogenttec
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

You can enter everything you want in the "Static" field type (although it suggests it's just HTML...).
That could be HTML, PHP, CSS or whatever. As long as you open and close the script (<?php or <style>)! So you're free to code in the Static HTML field.

Kind regards,

Ramon

concrete5 Environment Information

Concrete 5.7.4.2

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.