Mailinglisten-Archive |
Hi Martin, example.tpl ----------------- <html> <body> <h3> {$IMAGE_PETER_GIF} </h3> <h3> {$IMAGE_HANS_JPG} </h3> </body> </html> > Why don't you put all these vars into an array? > The problem is not an array or not, the problem is to get all the names of the vars out of the template before assigning or displaying. (That is because I need them to build the name of image with the vars out of the template, so I don't know them before assigning..)
php::bar PHP Wiki - Listenarchive