1
recupsoft
Need some php help
  • 2003/12/21 14:09

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


I'm bad with PHP instructions
I want to make a php test with IF into the page mydownloads_download.html :
<? If category cid = value then echo "yes" else echo "no"... ?>
so some things can change depending on the category.
Command line Thanks.

2
recupsoft
Re: Need some php help
  • 2003/12/21 14:42

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


Ok found it

<? if ($this->_tpl_vars['down']['cid'] == "choosen value")
{ true } else { false } ?>

Login

Who's Online

188 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

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

Latest GitHub Commits