paschim Posted January 19, 2008 Share Posted January 19, 2008 1)I have a page with frames, and there are some buttons on it, kinda like a map, and when a user clicks on one of them it reloads itself but with new info from the database. Now, how do i make sure, that the page the user views is always the framed page? i mean, say the main framed page is main.php and the sub page with the buttons is map.php....now even if the user wants to directly go to the map.php, he should see the frame page, that is main.php. ( i would prefer without javascript) 2)In the same case as above, the page first loads with a random info from the database(i am setting this value while calling this page), but if the user hits the refresh button, i dont want the info to change, how to do this? And finally a bit offtopic:- I am totally new to php, so could someone generous enough, join me for chat over msn?i could really use some basic help(and the irc on this site dosent work for me ) Quote Link to comment https://forums.phpfreaks.com/topic/86739-another-noobish-help-required/ Share on other sites More sharing options...
resago Posted January 19, 2008 Share Posted January 19, 2008 have the 2 files check for the name of the frames they reside in, if they are wrong, reload from your index or whatever. Quote Link to comment https://forums.phpfreaks.com/topic/86739-another-noobish-help-required/#findComment-443300 Share on other sites More sharing options...
paschim Posted January 19, 2008 Author Share Posted January 19, 2008 err... can you give a little example? Quote Link to comment https://forums.phpfreaks.com/topic/86739-another-noobish-help-required/#findComment-443303 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.