-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks