mardi 16 avril 2019

Is there any way to use PHP for links like page/action/id? [duplicate]

This question already has an answer here:

As the question says, I am looking for a way to be able to redirect from links like ”localhost/profile/3944”, which would, theoretically, load the profile whose ID is 3944.

The current way I am doing it now is ”localhost/profile.php?id=3944”. I am handling the $_GET attributes from PHP code. Is there any way to do this with the way I exemplified without the link parameters?

Thank you!




Aucun commentaire:

Enregistrer un commentaire