I have a header and a main div on my site. How can I create dynamic pages without refreshing the page, by just placing the files from profile.php, search.php and so on inside the main div of my website through using navigation menu?
For example, I have profile.php as the users main interface, and using ?action=action I have achieved the dynamic pages. But when it comes to search, I have to redirect the user to search.php?query=search-text and so on for the other pages.
Thanks.
Sounds like you want to do content replacement using AJAX.