From: nagendra prasad on
Hi All,

I want to link the actual file when the result is displayed.

url = actual MP3 location
Name = Name of the MP3

Here is the code that I want to link with:

echo "Name: ".<a herf='$url'>.$runrows['name'];

Is above code is correct ??

Best,


--
Guru Prasad
Ubuntu Voice GTK+ Forum
From: =?ISO-8859-1?B?QW5kculzIEcuIE1vbnRh8WV6?= on
echo 'Name: <a href="' . $url . '">' . $runrows['name'] . '</a>';


On 11 February 2010 08:54, nagendra prasad <nagendra802000(a)gmail.com> wrote:
> Hi All,
>
> I want to link the actual file when the result is displayed.
>
> url = actual MP3 location
> Name = Name of the MP3
>
> Here is the code that I want to link with:
>
> echo  "Name: ".<a herf='$url'>.$runrows['name'];
>
> Is above code is correct ??
>
> Best,
>
>
> --
> Guru Prasad
> Ubuntu Voice GTK+ Forum
>



--
Atte, Andrés G. Montañez
Zend Certified Engineer
Montevideo - Uruguay
From: nagendra prasad on
Thanks Buddy, its working but the linking is not working properly. Its
taking me the same page address on which right now I am.

http://localhost/searchengine/download.php?url=mj_bad_track01.mp3

I want to connect the url directly to the MP3 file so that user can download
the MP3.

Best,
From: =?UTF-8?B?QW5kcsOpcyBHLiBNb250YcOxZXo=?= on
Make sure your $url variable has the right value.

On 11 February 2010 09:06, nagendra prasad <nagendra802000(a)gmail.com> wrote:
> Thanks Buddy, its working but the linking is not working properly. Its
> taking me the same page address on which right now I am.
>
> http://localhost/searchengine/download.php?url=mj_bad_track01.mp3
>
> I want to connect the url directly to the MP3 file so that user can download
> the MP3.
>
> Best,
>


--
Andrés G. Montañez
Zend Certified Engineer
Montevideo - Uruguay
From: nagendra prasad on
Yep now its working :)

Thanks,

Guru.