-
- 107 Posts
how do i query another mysql db and display the results? is it done in a snippet?
i need to query a table and return a list of locations, instructors and prices. i want to set these queries up as snippets/chunks so that they can be reused in templates. i’ve seen in one topic where php can’t be used in snippets, but it’s not listed in the documentation one way or the other.
how do i do this?
legatissima
-
- 3,250 Posts
Yes, you would use a snippet with php code (but no php start end tags [ for example <?php ])