How to display data by using url in oscommerce

51 views Asked by At

I'm trying to fetch data from URL to show product seller name in the frontend, I used one seller name like abc&xyz, but when I'm trying to display data on fancy box data is not visible. Here is my URL looks like this, seller_info.php?seller_name=abc&xyz.

here you can see data is not visible of this abc&xyz variable:

So my question is how to use & between name and display data using URL. I hope I tried to explain to you my query.

1

There are 1 answers

3
Askirkela On

& is used as a field separator in your url query.
You can use %26 which is your & encoded to be used in an uri.

You can read more about it on MDN