Jump to content

help with programming


cronotempo

Recommended Posts

Could anyone tell me how to loop in a switch case type tpl file?

 

something like that in php

<? php

switch ($ i) {

case "apple":

echo "i is apple";

break;

case "bar":

echo "i is bar";

break;

case "cake":

echo "i is a cake";

break;

}

?>

How to integrate it in a file. Tpl?

 

 

 

 

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...