This is maybe a better description of the problem I'm having say your data was cars and colors. If I have a form that gets the information that I need for the sql query the sql query needs to be after the input which means that when the input is changed only the part of the page after the input is generated using the new values in the database and to get the change to be made everywhere I need to refresh.
I'll try to give a little example
car1 colorA [colorA] color A
say this is the first screen with the [colorA] in a dropbox
car1 colorA [colorB] colorA
now we select colorB
car1 colorA [colorB] colorB
and press submit, now the change has only affected the part after where the data was recieved, if I refresh I get
car1 colorB [colorB] colorB
which is what I need, but I need to find a way to make it affect the prior fields, or pass through a redirect site, or autorefresh. The first seems like it's impossible, the last seems like there should be a way to do it, to do the second I need to know how to pass the data on to another site.