PHP Scripts
Remove blank spaces in a MySQL result, so can be pasted direct as a hyperlink
The idea is to
display a list of cities in a region, and click to retrieve more information.
The problem is that the result contains empty spaces for cities that are 2 or
3 words long, like Stratford upon Avon.
This was displaying properly on the page, but the <a href> link only had the first word.
It was a very simple
solution.
<?PHP |