Newsletter

">
Title
Download File
   
Download File
   

alert('Sucessfully Updated ') "; } else { mysqli_query($conn, "UPDATE download_file SET title='$title' where id='$cname1'"); echo " "; } } if($_POST['save']) { $title=$_REQUEST['title']; $date=$_REQUEST['date']; //$title11=mysql_real_escape_string($ti); //$title=htmlspecialchars($title11, ENT_QUOTES); if($_FILES["download_file"]["name"] != "" )// this will check is file choosed or not through the file name. { $download_file=$_FILES['download_file']; $download_files=$download_file['name']; $temporary1=$download_file['tmp_name']; $target1="upload/download/$download_files"; move_uploaded_file($temporary1,$target1); mysqli_query($conn, "insert into download_file(`title`, `download_file`, `date`) values('$title', '$download_files', '$date') ")or die(mysqli_error()); echo ""; } } ?> num_rows > 0){ while($download_res = $data->fetch_assoc()) { $id = $download_res["id"]; $date = $download_res["date"]; $title = $download_res["title"]; ?>
Date Title File Action
    " onClick = "javascript: return confirm('Are you SURE you wish to do update this?');">