|
|
| |
1. HTML link utilization with PHP |
|
Reply |
|
|
 Kazi Md. Ali Murtaza | 2008-12-02 15:36:11 |
Hello,
I have a code like this:
/*
$query = "SELECT id, documentPath FROM documentbase WHERE CategoryTitle='Project Org Chart'";
$result = mysql_query($query,$conn) or die('Error, query failed');
$temp = mysql_fetch_row($result);
if($temp[0] != "")
{
?>
<a href="<?php echo $temp[1]; ?>">Project Org Chart</a>
<?php
}
?>
*/
When I keep my pointer on the link it displays an address like below:
file:///D:/Document_Base/StandardDocTest2.doc
But when I click on that to download nothing happens!! I can right click on that link and choose "Save Target As" option but I want the "Save As" dialog box to be appeared with a single left mouse button click. Please advice. |
There are 6 replies in this thread, which are not being displayed. Browsing this forum thread replies is available only to premium subscribers.
Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum. |