I am trying to make a php script that will load a form, take entry, then pass the information into an html tag and load said tag without refreshing the page.
There is a special property that needs to be applied to this particular script. I need it to be static. The html tag is supposed to call a .swf file. I need that file to be untouched when the user changes pages.
I was thinking it out, and I thought it may be easier to have that php script load the pages, but I run into a snag in my arcade. My arcade runs in php (it has over 500 pages). It would take like a year to change all the coding. Is there a way around this?
http://www.mcflysplace.com -- homepage
http://www.mcflysplace.com/arcade -- arcade
nyahguy@gmail.com -- email address
Need scripting help
Moderator: General Moderators
Re: Need scripting help
You are describing AJAX. Read: http://www.w3schools.com/Ajax/ajax_intro.aspMcflysPlace wrote:I am trying to make a php script that will load a form, take entry, then pass the information into an html tag and load said tag without refreshing the page.
-
McflysPlace
- Forum Newbie
- Posts: 5
- Joined: Wed Aug 27, 2008 3:59 pm
Re: Need scripting help
Thank You!
But, there's still the other issue. Do you know how I could have a .swf playing and load a new page without losing the .swf 's state? It would definitely suck to have to find your place over and over again.
Note: the 500+ page issue was fixed. Upon further review of my html pages, it turns out that they all load the majority of their information from an external .php template file. Using that I can easily edit all five hundred pages by tinkering with only three.
But, there's still the other issue. Do you know how I could have a .swf playing and load a new page without losing the .swf 's state? It would definitely suck to have to find your place over and over again.
Note: the 500+ page issue was fixed. Upon further review of my html pages, it turns out that they all load the majority of their information from an external .php template file. Using that I can easily edit all five hundred pages by tinkering with only three.