This is what i have done so far....I only need some kind of download link for the filename, so that the file can be grabbed from the table itself.....??????But how to create it...???
$query="SELECT SID,filetype,filename,filesize FROM personal_statement WHERE SID=$sid";
$result=mysql_query($query);
echo '<h3>PERSONAL STATEMENT</h3>';
echo '<table border=1>'; //creates table with border 1
echo '<tr><td>College Identifier</td><td>Filetype</td><td>Filename</td>
<td>filesize</td></tr>';
while($row=mysql_fetch_array($result)){//the same as mysql_fetch_row but i can use $row[fieldname] now instead of numbers
//prints all the actual records inside table row by row in one row
//prints all the actual records inside table row by row in one row
printf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>",
$row["SID"],$row,$row["filetype"],$row["filename"],$row["filesize"]);
}//end