php - How can i get id from url -


How do I get this ID from the URL? I am not the only one for all IDs

I tried:

  $ id_z_url = $ _GET ['id'] & amp; Amp; $ _GET ['id'] == ''. $ Gildia ['id']. '';   

But it does not work.

You should try this:

  $ id_z_url = $ _GET ['Gildia'];   

With the name of the params, in your case gildia .

When you want to use $ id_z_url = $ _GET ['id']; In this way you need to set the name id in the URL:

Comments

Popular posts from this blog

sql - Postgresql record to array -

c++ - Cmake produces file extensions in static library archives -

java - Clearing application data programatically android -