1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

PHP # in URL

Discussion in 'Web Development' started by vareside, Jul 11, 2009.

  1. vareside

    vareside New Member

    Hey folks,

    I have a question regarding the acceptance of a path by PHP. Like Facebook does, I wanna use a # in the URL so that when a user clicks on a link, the requested content will be displayed without reloading the entire website. How to do that?

    Thanks for any help!
     
  2. swg

    swg Member

    Depends - is the content loaded on page load and then hidden/shown using Javacript, or do you want the content to be loaded dynamically when a link is clicked?

    If dynamically I suggest jQuery - http://jquery.com/ - and using the AJax features of it
     
  3. vareside

    vareside New Member

    Thank you very much.