I want to produce an array result like this ['element1','element2','element3'] with smarty. I am working with PHP and smarty. The array is generated from PHP and then outputted by smarty in the above format or style. My PHP code is like this: I want to produce an array result like this ['e