CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

smarty tags

PHP – Mixing Smarty tags with PHP code

PHP is used to develop sever side scripts and it is embedded with in HTML code. Smarty Template Engine is used to create HTML templates that are used in PHP scripts. PHP validates the code based on its validation rules. We should follow these rules while developing PHP scripts. The same way, Smarty Template Engine […]

PHP – Building a web-page using Smarty Template Engine

Smarty is a template engine, written in PHP. Smarty Template Engine is used to separate business logic from presentation logic. Business logic is placed into .php files, whereas the presentation layer will be in .tplĀ (Template Programming Language) files. In this article, we will develop a simple web page using Smarty. Let’s take this simple web […]

Scroll to top