| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
php in static page question | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have the following placed in a static page:
Code:
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?
__________________
v4.1.8 GOLD |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Why are you doing it in php instead of doing:
{if $smarty.get.pr eq "2} show 2 {else} show 3 {/if} ? |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|