problem with php server update from mid 2009


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent update to the php server, the menu stopped working properly. It still loads the pages but the highlighted option doesn't change. One of the websites is this one: http://www.lisbonflats.com

Any suggestions?

<tr class="menubar">
<td>
<?php
if ($menusel<=1)
{
?>
<font color="#ffffff">home ></font>
<? } else { ?>
<a href="main01.php?menusel=1" target="main">home </a>
<? } ?>
</td>
</tr>
<tr class="menubar">
<td>
<?
if ($menusel==2)
{
?>
<font color="#ffffff">local ></font>
<? } else { ?>
<a href="main02.php?menusel=2" target="main">local </a>
<? } ?>
</td>
</tr>


Thanks in advance

regards

No comments posted yet

Your Answer:

Login to answer
210 Like 32 Dislike
Previous forums Next forums
Other forums

problems with contact forms that are only protected against SQL injections
What could be a potential problem with contact forms that are only protected against SQL injections

How can i steam a video on my PHP site? (non YouTube)
Basically I have a PHP site and don't want to give page rank to YouTube. I just want to stream a bas

quick basic question, hopefully not dumb
I don't know how to search for this, so forgive me if it's been covered...

I often see an exa

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service

Calculating a rating by adding number of points and dividing by number of items
I have a site that users can post links to files to download. They can rate these files on a 1-5 sca

How to disable direct access to a file
Suppose I've 2 Files. 1.php & 2.php

I don't want anybody to access 2.php directly fr

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

Is it possible to view php source code??
Hi All

I was just wondering if it's possible to view a websites php source code?
I know

Set Categories
I am creating a submission form for somebody to come in and submit products. These products are sep

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash