Jump to content

[SOLVED] How to write '&' differently


Sebolains

Recommended Posts

Hi there. I have a little problem. You'd see, I have a simple embed for a flash player. The player takes the variables out of the script, wich are separated by '&'. Now: the problem is that the url (one of the variables) also has '&' in it. One I put everything toghether, it goes crazy and does not know what it is doing. Putting ' or " isn't working. I thought the solution would come by changin the '&' signs in the url by an other way of wrinting it. What do I mean? Well, you see how the space can be replaced by %20. Well, probably that would be the way to go, unfortunately I have no idea wich the % number fot the & symbol is. I was wondering if anyone knew this. Perhaps there is an other way around it, I mean writing the '&' differently without the %. Does anyone know how?

Link to comment
https://forums.phpfreaks.com/topic/80726-solved-how-to-write-differently/
Share on other sites

this is what you asked:

 

I mean writing the '&' differently without the %. Does anyone know how?

 

and I answered your question.

 

look here (URL Encoding):

 

http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

 

%26

 

above code is what your looking for.

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.