Jump to content

Variable in URL?


najeeborg

Recommended Posts

hi, i have a question to ask.

is there any other way that you can have variable in url rather than Get method?

cause when using GET method, it displays something like this:

www.lalalala.com/index.php?var=1

 

instead of like that, i wanna make something like

www.lalala.com/1

 

where 1 is the variable and it will display something with ID=1.

 

is this possible? thank you.

Link to comment
https://forums.phpfreaks.com/topic/188001-variable-in-url/
Share on other sites

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.