Rahul
Rahul

Reputation: 11

How to display data by using url in oscommerce

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.

Upvotes: 0

Views: 58

Answers (1)

Askirkela
Askirkela

Reputation: 1209

& 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

Upvotes: 0

Related Questions