Thank you so much, it works! ^___^
And it does display a link at all times, which is good, we want that. :3
But, unsurprisingly, the link is blank if the pet doesn't level, which is bad.
Is there any way to make it always display the promocode?
Edit: I moved the code down to the bottom, as part of the OUTPUT PAGE section.
That got it to display the promocodes, and I even managed to make the link only display on "Happy Birthday" pages. :3
But I have one more wee problem. When I moved it, it stopped displaying the promocode for the current level, now its displaying the one for the next level. And changing $nextlevel to $currentlevel in the query has no affect. o_o
What am I doing wrong?
Last edited by xCataluna; 07-03-2011 at 02:09 AM.
|