O'Reilly logo

Learning PHP, MySQL, and JavaScript by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test Your Knowledge: Questions

Question 12-1

Name three benefits of using a templating system such as Smarty.

Question 12-2

How does a PHP program pass a variable to a Smarty template?

Question 12-3

How does a Smarty template access a variable that has been passed to it?

Question 12-4

What Smarty programming tag is used to iterate through an array?

Question 12-5

How do you enable Smarty templating in a PHP program?

See the section Chapter 12 Answers in Appendix A for the answers to these questions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required