Jump to content

Question regarding PHP


firecat318

Recommended Posts

I wanted to make a page on my website that would have multiple topics, and didn't want them to all be on seperate .html pages.  I also don't want to put them on the same page, because it would be too long. 

 

Here is a URL of facebook that replicates what I am talking about.

 

http://www.facebook.com/help.php?page=432

 

Notice how after the help.php it has ?page=432...

How do you get the ?page=432 to show up and have content on it?

 

 

Link to comment
Share on other sites

They probably use a $_GET variable and then write/echo/print content dependent on the number.

 

Kind of similar to this website, at the top you have "action=???".  That tells the PHP what exactly you are doing.

 

phpretard gave an example, but I did not understand his point at first.  He/she is making the same point, however.

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.