RE: [PHP-DB] <A HREF...> problem
| From: | Liz Kimber | Date: | Mon, 15 May 2000 20:49:47 +0000 |
| Subject: | RE: [PHP-DB] <A HREF...> problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27@lists.php.net to get a copy of this message | ||
Sounds like the upload hasnt worked quite right.. If you look at the mySQL
table by hand, what do you see?
> -----Original Message-----
> From: Mick Lloyd [mailto:mjl@consultingrooms.com]
> Sent: 15 May 2000 22:52
> To: Database Help PHP
> Subject: [PHP-DB] <A HREF...> problem
>
>
> 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=$v
> ariable#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
> mjl@consultingrooms.com
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>