Forum

Thread tagged as: Question, Third-party

PHP code inside templates?

Hello, I was wondering if it's possible to include php code inside templates for database results?

Mark Fenton

Mark Fenton 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

PHP cannot be included inside templates but you can pass data into templates.

https://docs.grabaperch.com/docs/templates/passing-variables-into-templates/

Rachel Andrew said:

PHP cannot be included inside templates but you can pass data into templates.

https://docs.grabaperch.com/docs/templates/passing-variables-into-templates/

Thanks Rachel