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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -