I need some help with how I can soft query from sql. I have a php script with an html page who is showing the result from the query. I have this quer ...
I need some help with how I can soft query from sql. I have a php script with an html page who is showing the result from the query. I have this quer ...
I have project with Zend Framework. I install xampp and download project. However, I do not know how to set the path to phptal above. It is from what ...
I have the following source: I know those alerts and conditions are nasty, but as I'm in an early project state, I will refine that later. ;) I'm w ...
i am first time user of PHPTAL and i am not able to provide value to input box using PHPTAL i have three files 1.index.php 2.empView.Xhtml 3.emp ...
I'm in the process of transitioning a site to using PHPTAL templates, for now I am writing all new pages using templates while leaving the existing pa ...
I've picked up PHPTAL (after coming from PHPMustache), and I'm trying to inject a ViewModel class Mustache-style into my template. Let me explain .. ...
Below line raises: PHPTAL_VariableNotFoundException' with message 'Unable to find variable 'GLOBALS' in current scope' while works ...
Is there an alternative to what I do below : Such as : ...
I've switched from Phptal to Twig: very better experience. However, in phptal I did "tal:cache" to cache some blocks of code... with Twig, how can I a ...
I would like to use defined variables by phptal within php conditions as follows : Here my output is "${className} modalMegaPhotoSelect" where as I ...
i've this problem my phptal view has a variable called data which is an associative array. Let's suppose that i've those Keys M01 M02 and M03 not in ...
How do I require PHPTAL.php that I added to my buildpath (PHP Include path folder)? It would do with either an absolute or relative path. ...
Given a metal macro that looks like this: And a template which uses the macro like this: What do I need to add to the macro, such that the resul ...
I find myself creating various tables for tabular data quite a bit, and would like to create a macro that can dynamically create tables based on a dat ...
I'm wondering that how to integrate PHPTAL into yii framework? I'm using PHPTAL for a long time and it's nice template engine. Although Yii allows int ...
Is it possible to do a tal:replace="whatever" but maintain certain attributes of the element/tag? For example, if you have the following: Is it po ...
I am using Zend Framework with PHPTAL templates for view sites. Problem is that I have <span> that contains tal:content = value. Value is the f ...
I have data in CSV format: $result->names = array(array('x,y,z'),array('a,b,c')); for example: item.names = 'a,b,c' this code doesn't ...
.Quick question - I have the following, working syntax: but I was expecting to be able to use the shorter: i.e. not having to define owner and u ...
We have a certain page in our site that when you print, it doesn't come out properly! We also have a print button on the site that when you press it ...