Jump to content

Recommended Posts

Thanks for the help revraz, as it made me understand what I was doing wrong passing it in a flashvar originally:

 

 

so.addParam("flashvars", "cat=<?php IF (!isset ($_GET['Cat'])) { echo 0; } ELSE { echo $_GET['Cat']-1; } ?>");

 

my first Category is 0, even though in XML I call it 1, based on flash variables of starting the array of 0,1,2,3.

 

 

  • 1 month later...

Dang, can some one please explain whay this dont work anymore?

 

what I want it to do is if "gallery.php" does not have Cat= anything, I want it write 0, but if Cat= a number 1, then go to that number. It use to work, but now it doesnt, I think my php has update to a different version, 4+ something, and I now also have v 5 too.

 

<?php IF (!isset ($_GET['Cat'])) { echo 0; } ELSE { echo $_GET['Cat']-1; } ?>

 

thanks for your help

Dang, can some one please explain whay this dont work anymore?

 

what I want it to do is if "gallery.php" does not have Cat= anything, I want it write 0, but if Cat= a number 1, then go to that number. It use to work, but now it doesnt, I think my php has update to a different version, 4+ something, and I now also have v 5 too.

 

<?php IF (!isset ($_GET['Cat'])) { echo 0; } ELSE { echo $_GET['Cat']-1; } ?>

 

thanks for your help

 

ok figured it out something changed on my server and now Cat was case sensitive... grr i hate that.

 

correct:

 

<?php IF (!isset ($_GET['cat'])) { echo 0; } ELSE { echo $_GET['cat']-1; } ?>

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.