Hi everyone I'm brand new here and was hoping I could get some advice. I'm developing a website for a friend and am new to php.
I have a website where there is one main index.php page, and the content of the page changes via a menubar basically by checking $_REQUEST to see what page we should display (ie, "index.php?page=main" or "index.php?page=contact"), then an if statement REQUIRES the appropriate content in the middle of the page where the content changes.
The problem I'm having is that I have a simple MP3 flash player that I need to play throughout the whole site consistently. But when the user clicks a menubar button, because it reloads the index.php, it also reloads the flash player and so the song jumps back to the beginning.
I'm trying to figure out a way to prevent this flash player from reloading each time the page is refreshed with new content.
Is there any way to do this, other than putting the flashplayer in a separate frame? That's the only solution I've been able to think of and I want to avoid frames.
Any advice/help is greatly appreciated, sorry for the lengthy post. thank you in advance