|
Posted by ray on 10/23/05 17:59
On Sun, 23 Oct 2005 06:45:28 -0700, Tyrone Slothrop <ts@paranoids.com>
wrote:
>On Sun, 23 Oct 2005 15:06:15 +0200, ray <ray@not.valid> wrote:
>
>>
>>I use the following switch case in my website, on apache (on linux)
>>this is working fine when I call de url
>>http://website/home.php?page=1
>>
>>it shows the content i want to see, but on IIS6.0 on windows server
>>2003 it only shows the case 0, nomather the page=* I use.
>>
>>Does anybody know what I am doing wrong?
>>
>>php code:
>>
>><?php
>>switch($page){
>
>>?>
>
>Try referring to $page as $_GET['page'].
sometimes things are so easy you overlook theme ;-)
thx
Navigation:
[Reply to this message]
|