stanney123 Posted March 29, 2007 Share Posted March 29, 2007 i am creating a php website and have it so the main area is <?php include();?> and i include the main area i want for my index page but is there a code i can put in so when a click a link it just changes the php include file so the page doesnt reload?? ??? Link to comment https://forums.phpfreaks.com/topic/44807-want-to-no-asap/ Share on other sites More sharing options...
per1os Posted March 29, 2007 Share Posted March 29, 2007 Not without the help of Javascript, CSS and AJAX. But that is still limited in what it can do and what you may want. Link to comment https://forums.phpfreaks.com/topic/44807-want-to-no-asap/#findComment-217573 Share on other sites More sharing options...
stanney123 Posted March 29, 2007 Author Share Posted March 29, 2007 i mean the area of were the main file is loaded will change to another html/php file when a link is clicked?? so is there anything i could use? Link to comment https://forums.phpfreaks.com/topic/44807-want-to-no-asap/#findComment-217574 Share on other sites More sharing options...
rcorlew Posted March 29, 2007 Share Posted March 29, 2007 If you use a header and footer template and then change the middle, the site will load fast since two of the parts are cached and then just do and include the middle. That's the best way I have found. Link to comment https://forums.phpfreaks.com/topic/44807-want-to-no-asap/#findComment-217583 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.