A
A
Anton2016-09-12 23:38:37
PHP
Anton, 2016-09-12 23:38:37

How to connect to the database and make a selection from the database in .tpl?

Greetings, tell me how to connect to the database and make a selection in tpl (smarty)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2016-09-12
@boypush

tpl is a template.
it should contain only output, and you need to receive data in the script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question