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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -