Jump to content

Seperate words in URL with ;


dachshund

Recommended Posts

Hi there,

 

I'm making an online clothing store for the brick and mortar shop we have and would like the customer to be able to refine their search by size, colour etc.

 

The size options will be XS, S, M etc etc where XS is 0, S is 1 and so on. So when they select XS it will add ?size=0 to the URL, if they select XS and S it will be ?size=0;1

 

What I need to know is how to make some PHP code which can recognise the ; is a break and know that both sizes are selected.

 

Hope that makes sense and thanks in advance :)

Link to comment
https://forums.phpfreaks.com/topic/251844-seperate-words-in-url-with/
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.