jayveezed Posted January 29, 2009 Share Posted January 29, 2009 Hi there I am a complete noob to php so please be gentle... My pages are set up so the header, content, left and right sidebars and footer are seperate php files, using "require" to call them all together. When clicking a link I wanted to ensure only the "content" page changes i.e. no reload of the flash and image-laden header.php. I'm assuming this is possible? I'm hoping that this could be specified further in some way i.e. no reload of header.php AND right sidebar.php - because their content will always be the same. I have been scouring the web for a solution but I have a feeling I'm not asking the right question... or it's not possible??? Any help would be most appreciated. cheers Jas Link to comment https://forums.phpfreaks.com/topic/143002-load-main-content-only/ Share on other sites More sharing options...
milesap Posted January 29, 2009 Share Posted January 29, 2009 You cannot do that using PHP, you need to read up on using HTML frames, or better, Ajax. Frames are much easier to learn, but Ajax is the new standard. Link to comment https://forums.phpfreaks.com/topic/143002-load-main-content-only/#findComment-749821 Share on other sites More sharing options...
jayveezed Posted January 29, 2009 Author Share Posted January 29, 2009 Thanks for the quick reply...! I shall look into Ajax because I was trying to avoid frames, though I forget why now??? Anyway, thanks a lot, you've saved me a great deal of time in respect of fruitless searchings...! cheers Jas Link to comment https://forums.phpfreaks.com/topic/143002-load-main-content-only/#findComment-749827 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.