1
astronaute
How to test smarty variable ?
  • 2006/9/21 0:53

  • astronaute

  • Just popping in

  • Posts: 12

  • Since: 2006/8/23


Hello,

If in my php code I have something like this :

this->template->assign"some_variable_here""sometext" );


how can I test that the variable $some_variable_here is set ?

for exemple :

if (isset($some_variable_here) &&  $some_variable_here != '') {
     
this->template->assign"some_variable_here""someOtherText" );
}


I need to test it in php code and not in template.

Thank you a lot

Login

Who's Online

360 user(s) are online (210 user(s) are browsing Support Forums)


Members: 0


Guests: 360


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits