Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables not refreshing?

Status
Not open for further replies.

ma701sd

IS-IT--Management
Dec 15, 2000
94
GB
Hi,

Can anyone help...I have a problem with variables not refreshing (I think this is the problem)

This is what I'm doing...

Page 1 contains a form which is passed to page 2. The Variables are then stored into a database.
I then retrieve the values from the database and populate a html form dynamically based upon the query.
What I then do is pass the values after I have updated them (e.g. change a colour from purple to red) which is an option in my select box back to the first page to view the output, however the variables are not being updated i.e. the colour is not changing from the database stored value of purple to red? ( Before the point I store the varaibles in a database the first page does this fine i.e. a select a colour red, view the ouptut, click back button on the browser, select a different colour e.g. purple and text is displayed as purple as opposed to red, however, this does not seem to work when I query the DB and place the output query in a form, modify it and pass the different value for the variables to page 1 but the variable does not seem to update i.e. the original value is not modified?

I hope this makes some kind of sense...

Can anyone help???

Many thanks

Sam

PS. If oit helps, I can post snippets of code from the different pages
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top