RE: [PHP] OT Smarty problem

2008-05-28 Thread George Pitcher
| To: George Pitcher >| Cc: php-general@lists.php.net >| Subject: Re: [PHP] OT Smarty problem >| >| >| Hi George, >| >| I tried your code and it works. >| >| If you have some way of remote assistance I can have a look "on-site", >| if you like. >| >|

Re: [PHP] OT Smarty problem

2008-05-28 Thread Iv Ray
Gabriel Sosa wrote: > try doing this.. > > {if $clearance eq 0} > > instead use == > > i saw that some version of smarty has a bug related to this issue > > BTW .. you could use the options helper [1] > > saludos > gabriel Right... I forgot to ask which Smarty version you have. I tried it with t

Re: [PHP] OT Smarty problem

2008-05-28 Thread Iv Ray
Hi George, I tried your code and it works. If you have some way of remote assistance I can have a look "on-site", if you like. But it could be that you just need a good sleep, and then look again ;) Iv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] OT Smarty problem

2008-05-28 Thread Gabriel Sosa
try doing this.. {if $clearance eq 0} instead use == i saw that some version of smarty has a bug related to this issue BTW .. you could use the options helper [1] saludos gabriel [1] http://www.smarty.net/manual/en/language.function.html.options.php On Wed, May 28, 2008 at 11:46 AM, Ge

[PHP] OT Smarty problem

2008-05-28 Thread George Pitcher
Hi, Apologies for posting this here but coudn't find a decent Smarty list. I've been using Smarty for 4 years without much problem. I'm adding some extra functionality to a page used by 2 members of staff. My snippets of relevant code are: $smarty->assign('clearance', $clearbits['clearance_