Hi, I am generating dynamic links and some don't work.
How should I deal with spaces in links ?
6
Hi,
I am generating dynamic links and some don't work.
Is it because they have a space in the link ?
eg: from the name "David Franklyn", I get the link
<a href="www.mysite/David Franklyn/sports/Franklyn.html">David Franklyn</a>
What would be the best way to deal with the spaces ?
Someone suggested replacing them withmysite/David%20Franklyn/sports/Franklyn.html
or
mysite/David-Franklyn/sports/Franklyn.html
or
mysite/David_Franklyn/sports/Franklyn.html
or something else ?
Does anyone know about these things ?
Thanks for any help.
I am generating dynamic links and some don't work.
Is it because they have a space in the link ?
eg: from the name "David Franklyn", I get the link
<a href="www.mysite/David Franklyn/sports/Franklyn.html">David Franklyn</a>
What would be the best way to deal with the spaces ?
Someone suggested replacing them withmysite/David%20Franklyn/sports/Franklyn.html
or
mysite/David-Franklyn/sports/Franklyn.html
or
mysite/David_Franklyn/sports/Franklyn.html
or something else ?
Does anyone know about these things ?
Thanks for any help.
- jaggyjay
- tom42357 Banned
- zeurois
- Glenn Leader
Next Topics on Trending Feed
-
6