Problem in category
-
I am trying to declare a global variable in my category.php
The code im using is
<?php global $myVar = 16; ?>
I tried to set it without the ‘global’ and it appears to work, but with the ‘global’ I just get a white screen with absolutely nothing….Am I doing something wrong?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problem in category’ is closed to new replies.