Origin
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Origin
-
-
Weird Problem
in PHP
I'm having a problem with a site I made. I know the server supports PHP cuz I have used it before.http://gfxsector.netThe php navigation is acting weird..The include is working because its incuding CuteNews... but it doesnt work when I click the other links.It brings the default page up no matter what link I choose. Include in the main content box
<?phpswitch($id) {default:include('cutenews/show_news.php'); break; case "1": include('cutenews/show_news.php'); break; case "2":include('dls.htm');break; case "3":include('sotwnews/show_news.php');break; case "4":include('affs.htm');}
A Navigation link
<a href="index.php?id=3" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sotw','','images/sotw2.gif',1)"><img src="images/sotw.gif" alt="SOTW" name="sotw" width="25" height="39" border="0"></a>
-
the validator at w3 doesnt support php.. thats why its called html validator..you're referring to http://validator.w3.org right?
Favourite html editors...
in HTML/XHTML
Posted
Dreamweaver8 all the way