Help with this

From: Date: Fri, 03 Feb 2006 17:54:42 +0000
Subject: Help with this
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13294@lists.php.net to get a copy of this message
Hi: I read the Smarty documentation after po:st any messages on list or Smarty Forum. I need to set up a comparison with some vars came from GET (URL: http://localhost/index.php?var=value). I see this: $smarty.get.var. So if I do this in TPL file: {$smarty.get.var} and this print "value". So if I try this other: {if $smarty.get.var eq "value"} DEBUG: true {else} DEBUG: false; {/if} Nothing happen. How I can compare the $smarty.get.var with the real value for do some things? Regards ReynierPM 4to. año Ing. Informática Usuario registrado de Linux: #310201 ************************************************************************* El programador superhéroe aprende de compartir sus conocimientos. Es el referente de sus compañeros. Todo el mundo va a preguntarle y él, secretamente, lo fomenta porque es así como adquiere su legendaria sabiduría: escuchando ayudando a los demás...

« previous php.smarty.general (#13294) next »