You are here: how would I keep the value of a variable? « All PHP « IT news, forums, messages
how would I keep the value of a variable?

Posted by Cool Shaker on 08/22/06 10:30

Hell again.

I was again wondering if someone could point me in the right direction
please.

The website I am developing has the requirement that there are multiple
buttons in the menu ( the A's) that change the font size and also give a
text only style. This is a customer requirement and must be there.

The url is http://www.libraryclub.co.uk/index.php

The code that switches the font size works.

My problem is that the page http://www.libraryclub.co.uk/listallmemories.php
passes a value from a list to the page
http://www.libraryclub.co.uk/memory.php and again that works fine and the
record from the data base is loaded OK, but if a user clicks to change the
text size using one of the four A's at the top of the screen once they are
in the memory.php page the screen refreshes with the new text size but the
value of the item selected from the list is now gone. The result of that is
that the SQL query fails as it does not know which record to pull from the
database.

If a normal screen refresh is done the page still works fine. It is only
when the text size is changed that it fails.

Even if I load the value to a second variable in the memory.php page , the
second variable is also cleared.

How would I keep the number of the item that was selected from the list
after changind the text size please?

Many thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация