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
https://forums.phpfreaks.com/topic/102375-question-regarding-php/
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.

Archived

This topic is now archived and is closed to further replies.

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