Jump to content

[SOLVED] Small question, nothing complicated for you. Me on the other hand - I'm lost in


mnielsen

Recommended Posts

Hi, I'm newish to PHP but I do have a very basic understanding.

 

My question is, When using PHP for example on a standard php page and I want to expand the text to reveal more of the story, like on facebook when you click on a question mark the link has a '#' at the end. What is the code behind it.

 

If you can understand that question some replies would be great. Thanks in advance for any help.

Link to comment
Share on other sites

Like a 'Read More' type thing, where it goes to the article?

 

Or like JavaScript where it reveals more of the content, when you click the click or an image icon?

 

I'm not familiar with facebook so sorry if I don't completely understand.

 

But if it's one of those 2 it's either done with JS, or PHP.

Link to comment
Share on other sites

Well what you're describing is AJAX (back-end PHP with a JS interface).

 

Although that's odd because when dealing with JS and AJAX the content is loaded without refreshing/reloading the page, that's the entire point.

 

Would it be possible to provide a link to a page that contains these question marks? I don't have an account so keep that in mind. This wuld porbably help me more.

Link to comment
Share on other sites

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.