[SOLVED] Custom link gets chopped off
Posted 11 January 2019 - 12:54 PM
The value in the Grid Ref is SJ 54456 85962
$value="<iframe src=http://gridreferencefinder.com/?gr=".$data["GridRef"] . " height='1000' width='1200'></iframe>";
But when the website runs only the link underlined below makes it to the SJ and the important bits at the end 54456 85962 get chopped off
Any ideas please how I can make the whole link complete please?
<iframe src=http://gridreferencefinder.com/?gr=SJ 54456 85962 height='1000' width='1200'></iframe>
Posted 11 January 2019 - 01:47 PM
... just an idea ..., if counted correctly, the underlined URL part consists out of 37 characters,
while whole you need to get underlined is 49 characters, say, 12 characters are currently NOT underlined
and hence wrongly interpreted. While shortening of URL is one thing, I think, the prolongation of URL
might work too (not tested). In other words, the suggested code as per URL above is talking about URL
shortening to 20 characters while it would be interesting to see whether changing the suggested code to
not shorten, but to prolong according to needs, here 49 characters could help or not here.
Or you need to google for the very best "replace blank by %" code on the web ...
Posted 12 January 2019 - 02:43 AM