Jump to content

check URL parameters?


dzwestwindsor

Recommended Posts

Hi hello,

 

Right now I have this generated URL:

 

mywebsite.com/thisismypage?compare0=50&compare1=112&compare2=512

 

Is there anyway to "extract" the 50, 112, and 512 dynamically?

 

Those numbers are the Item ID's, I need them for further operations.

 

So is there a way to extract the IDs, maybe into an array?

 

The ID's are dynamically rendered, as well as the "compare#".

 

Not sure if I am being clear... hopefully this makes sense.

 

All help is appreciated.

 

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/212209-check-url-parameters/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.