Jump to content

Changing some content on the site


Niixie

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/238020-changing-some-content-on-the-site/
Share on other sites

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

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.