Jump to content

Load Content using PHP

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Root23

Root23

    Programmer

  • Members
  • PipPipPipPip
  • 144 posts
I'm wondering how people reload only sections of page when the user clicks a link? Is there a lot of PHP involved?

Eg. Click a link in the navigation bar, and reload that information into the content area. Currently, I'm using JQuery to do this, but only because it was a quick solution.

If there's a good tutorial on something like this that would be great. I didn't see anything while browsing through the several pages of PHP tut's, but I could have missed one as well.

Thanks
Posted Image

#2
liamzebedee

liamzebedee

    Programmer

  • Members
  • PipPipPipPip
  • 129 posts
Well when you said you used jQuery I'm guessing that means your using AJAX. As far as I'm aware AJAX is the best there is for this, and jQuery is a great library for it. PHP is a server side language, which means it is run on the server and cannot 'interact' with the user's computer. You are thinking of a language like JS




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users