Code: Select all
<!-- IF (U_GALLERY_LINK_ID=="./gallery/menu.php?gallery=members&album_id=0") -->
Album id is 0
<!-- ELSE -->
albumid is anything but 0
<!-- ENDIF -->What can I do?
Moderator: General Moderators
Code: Select all
<!-- IF (U_GALLERY_LINK_ID=="./gallery/menu.php?gallery=members&album_id=0") -->
Album id is 0
<!-- ELSE -->
albumid is anything but 0
<!-- ENDIF -->How about an elseif ($criterion == '0')Majes wrote:Hi all. I've got this piece of code that is not working. It's from a phpbb3 forum
U_GALLERY_LINK_ID gives an url (./gallery/menu.php?gallery=members&album_id=) ended with a number. I want to do something when it's 0, and another thing when it is another number...Code: Select all
<!-- IF (U_GALLERY_LINK_ID=="./gallery/menu.php?gallery=members&album_id=0") --> Album id is 0 <!-- ELSE --> albumid is anything but 0 <!-- ENDIF -->
What can I do?