Why won't my button display a reloaded form?

Hi guys, first off, let my start by saying I’m so elated to have found this online community. It’s extremely good to know that some of you guys have a helping nature and are willing to help out of sheer kindness. I’m really thankful for that.

I am a novice coder and PHP pupil. So I think you should know that first.

I have built a web app which allows the viewer to see a dynamic form. Please view the picture in the link.

Pictures of windows 1,2, and 3 show the process the user goes through for selecting a form to view .

The process 1,2,3 occurs under the assumption this is the first time the user logs in to the website with a username and password.

So after selecting a form, the user can see it.

We see that after selecting the form for safeway store 1, we see the form for the corresponding store.

The Problem:

Now if I change to displaying any another form, and click “Display Banner”. The form doesn’t change. It stays on the first form the user selected.

My temporary way of viewing other forms:

  1. Log out, log in again and select a form. The first form you select will be displayed. Any form thereafter will not be displayed after clicking "DISPLAY BANNER’.

  2. Sometimes, process 1 above does not work either. The form remains the same as the one that was left on your last usage. So since 1 does not work either, I clear the cache memory of the browser and then log-in.

Any help of any form would be greatly appreciated (really).

Please be kind enough to forgive anything wrong I have done in this posting, this is my first post as you can see.

Thanks for taking the time to look! I presume this has such a simple fix the need to view the .php file for this form is not even needed.

Well it’s really hard to tell just from word what’s wrong with your code or how you are accomplishing this task.

Are you using SESSION variables to display banners??? or any other strategy?

Really hard to tell what’s going on based off of a picture. If you want dynamic without refreshing the page, you’ll need to use javascript or jquery (same thing, different set of calls)

Sponsor our Newsletter | Privacy Policy | Terms of Service