Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.