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

210 Like 32 Dislike
Previous php-forum Next php-forum
Other php-forum

max() problem
I have a while loop to get image names.
Code: $imagequery = mysql_query("SELECT * FROM ad_i

include problem
I have my root folder as:
Code: $root = $_SERVER["SITE_HTMLROOT"]; // the server root<

PHP / MySQL Associative Multidimensional Array:
Hello.

I have data in a MySQL Table that adheres to the below: (note, no index, could add if

Date help - fetch dates for Mondays between xxx and yyy?
Does anyone know the best way to do this? I have two dates, say:

2010-01-26 and 2010-05-30

show random images
hey guys

can someone please suggest a way in which the following code can be edited so it onl

Ten Operator Syntax
Hi Guys,

I can't figure out why i am getting a parse error with this basic ten op code:

PDO returns erroneous columns from within pdt
Hi All,

This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a

Linked Keywords
I am trying to get a script that makes my predefined keyword converted to links and / or converted t

Need PHP help... have all the elements... just need help putting them together :
Hey Guys,

I was wondering if someone could help me. I am doing a website for a client which

my sql select id and then update problem.
I need to select some auto incremented ids out of a database and then use those id in a where statem

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