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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -