Results 1 to 1 of 1

Thread: Link to file

  1. #1
    Join Date
    Nov 2011
    Location
    Sweden
    Posts
    36
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Link to file

    Hi, I have this code to echo a file on webpage: <?php echo mysql_result($result,$i,"Bifogad_Fil");?>
    But how can i make it a clickeble link?

    I tryed this but it did not work: <a href="<?php echo mysql_result($result,$i,"Bifogad_Fil");?>">File</a>

    If i click the File text it works, but how do i display the file name and make the file name clickeble?

    Aaha I'v got it. I just made it like this: <a href="<?php echo mysql_result($result,$i,"Bifogad_Fil");?>"><?php echo mysql_result($result,$i,"Bifogad_Fil");?></a>
    Last edited by PatrikIden; 02-03-2012 at 04:50 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •