Hello,
I have a php-page, say 'hello.php'.
I have one style on my for my website, so I make use of an inclusion of an header, 'header.php'. Somewhere in the body (html) of the header-file, I include an other php-file, like 'menu.php'.
I used this code:
<?php include 'menu_00000.php' ;?>
Everything ok for now. Everything works. EXCEPT.... the menu is only viewable for Internet Explorer....
So, I made an other simple menu, viewable for all browsers. 'menu_NSother.php'
This menu must come up when people do use any other browser than IE.
I tried a lott with Javascript, and messed up.. Forgot that javascript is later processed than php, because the difference in serverside and clientside.
And I found nothing like a simple pre-made script, which detects browsers and redirect 'm.
So, maybe someone has a simple solution, feel free to reply, thanks for your time for reading.
Regards, Michel
I tried t