Niixie Posted May 31, 2011 Share Posted May 31, 2011 Hey PHPFreaks! I need some help with changing some content on my website, when clicking on an arrow. I have no idea on how to make it, thats why i ask here. I've searched on the internet for some time now, and i could not figure out a method by myself. If you take a look at this site: www.johnmayer.com If you go down, you'lll see 4 arrows, and if you click them, either the news or the blogs content changes. Thats the feature I'm trying to make. I wanted the information / content stored in a mysql database, if its possible? Please comment here if you dont understand! //Niixie Quote Link to comment https://forums.phpfreaks.com/topic/238020-changing-some-content-on-the-site/ Share on other sites More sharing options...
Maq Posted May 31, 2011 Share Posted May 31, 2011 I wanted the information / content stored in a mysql database, if its possible? Yep, it's certainly possible. After you store the data in your DB you have to make AJAX calls to extract the data and replace it in the HTML. https://developer.mozilla.org/en/AJAX Quote Link to comment https://forums.phpfreaks.com/topic/238020-changing-some-content-on-the-site/#findComment-1223098 Share on other sites More sharing options...
Niixie Posted May 31, 2011 Author Share Posted May 31, 2011 I wanted the information / content stored in a mysql database, if its possible? Yep, it's certainly possible. After you store the data in your DB you have to make AJAX calls to extract the data and replace it in the HTML. https://developer.mozilla.org/en/AJAX Thank you very much, then I'll just learn AJAX asap -I'd like if someone have a script i can use in the meanwhile so i dont need to master it before it works well? Quote Link to comment https://forums.phpfreaks.com/topic/238020-changing-some-content-on-the-site/#findComment-1223101 Share on other sites More sharing options...
Maq Posted May 31, 2011 Share Posted May 31, 2011 Google AJAX newsfeed or something for scripts. Quote Link to comment https://forums.phpfreaks.com/topic/238020-changing-some-content-on-the-site/#findComment-1223109 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.