I have the following placed in a static page:
Code:
{php} if($pr=="2") echo"2"; else echo "3";
{/php}
now when i reference page , 2 is showing always.
When I type in my browser page.html?pr=3
the 2 still shows, so the url variable insertion of 3 is not effecting the variable $pr at all.
Is there a way to make this work?