<A HREF problem

[email protected] ("Mick Lloyd")
Newsgroups php.general
Message-ID <00db01bfbeb8$606d50e0$e5223c3e@laptop>
I have a script that displays records one field of which is a link to a file
on my FTP server. This field is displayed using:

echo "<A HREF='$row[54]'>Download</A>";

Instead of showing as:

ftp//:my_server/file_to_download

the link shows as:

http://www.my_domain.com/file_displaying_records.phtml?variable=$variable#ft
p//:my_server/file_to_download#

where the first part refers to the script that displays the records.

Any ideas how can I stop this happening?

The data in the field actually appears as
#ftp//:my_server/file_to_download#. This is derived from Access - exported,
uploaded as a text file then imported to the MySQL database. Could this be
the reason?

Mick Lloyd
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.