Home Tour Demo FAQ App Gallery Buy Now    
Home > Template Tags > How to include a query on a template?


How to include a query on a template?

{QUERY}

Query database and get results. You can create your queries using the Query Builder on the Application manager. Once you created a query, put it in the page to call results. Then you should use LOOP or DISPLAY tags to show the result(s).

For example: Let's say you have created a query named "approved" you can include it on your page as

{QUERY:approved}
{LOOP:messages}
   ....
{LOOP:end}

This will show only approved entries specified in your query.


Tags: template tags query
Related Articles:

Add a new comment

Send Comment

 
 
Customer Log-in | Support Forums | User Guide | Free Form Builder | Contact Memberkit Team