Re: url return
| From: | David Robley | Date: | Fri, 03 May 2002 02:01:33 +0000 |
| Subject: | Re: url return | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18957@lists.php.net to get a copy of this message | ||
In article <003101c1f23d$192952f0$0100a8c0@musicnircvthry>,
webmaster@musicinfo.ath.cx says...
> I have the following query:
> $query = "SELECT * FROM netjuke_tracks ORDER BY id DESC";
> $latemp3 = mysql_query($query) or die("Select Failed!");
> $latemp3 = mysql_fetch_array($latemp3);
> echo "Latest MP3 : "; echo $latemp3[name];
>
> I also have a field called "location" which holds the file location. What I would
> like to know is how do I get it to return with the name as the name of the link and the url is the
> location of the link.
>
> Thanks in advance.
>
> B.J.Rumsey
>
Just echo the appropriate HTML with the relevant variables added in the
correct places.
--
David Robley
Temporary Kiwi!
Quod subigo farinam