I have this code

$request = mysql_query("SELECT note_title,image_file FROM notez");
while($row=mysql_fetch_array($request)) {
echo $row['image_file'].'<br />';
echo $row['note_title'].'<br />';
}

and the path to the folder where i stored the files is

userimages_doc

when i click on

note_title

, i want to download the file

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.