PatrikIden
02-03-2012, 04:44 PM
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>
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>