Комментарии:
love you bro...
Ответитьsir blog waly page ka code chaye
Ответитьjust so you know guys the image size matters.. I uploaded a 2.55mb image and it didn't work... then i tried a 1.2mb image and it worked.......
hope I have helped someone
share code
ОтветитьHelp I have this error:
Warning: Undefined array key "profileimg_regis" in C:\xampp\htdocs\DeknoinarakDev\dashboard\run\code.php on line 102
Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\DeknoinarakDev\dashboard\run\code.php on line 102
Sir iska code provide kra dijiye
ОтветитьHave a download source code?
Ответитьcan you give the source code?
Ответитьwhy do i get img already exist?
ОтветитьHello, why I can not upload big images? 7mb or 10mb
ОтветитьDear sir plz provide the source code
ОтветитьBy any chance can you do a video or file upload
Ответитьsome code missing Dear
Ответитьmove_uploaded_file($_FILES["student_image"]["tmp_name"], "upload/".$_FILES["student_image"]["name"]);
Sir I can save image in my database but my problem is why I can not store the image that I save in the upload folder "upload/" What is the problem of this sir?
Thank you sir for your nice tutorial! I can add image now :)
ОтветитьProject ka naam..online tender invitation ha..
Admin usme tender add, update and delete karga.. aur field sirf tender name, description,file diya ha..
Client side me ..navbar me .homepage ha,admin login ha aur tender ha...tender me click karne se ..card jeisa tender display hoga aur sath me wahi tender ka file ka link rahega...abb uss link me file ko downloadable keisa banao.... please help bohot bohot urgent ha...kal submit karna ha...ekk chiz k atak gaya hu bhai..
how can i make modal button for regiser edit button sir pls teach me
Ответитьi made it work like this for me: from this $query = "INSERT INTO faculty ('name', 'design', 'description', 'images') VALUES ('$name','$designation', '$description', '$images')"; to this $query = "INSERT INTO faculty (name, design, description, images) VALUES ('$name','$designation', '$description', '$images')"; the '...' were the problem for me
Ответитьdescription you give discript diffrent name but db how was save
ОтветитьHi, I follow your steps to do, but when i add image, my addstaff page is blank.
ОтветитьThis method doesn't work for, though I made another alternative since I'd done a similar task earlier. But I'm loving the whole video series so far.
ОтветитьThis video isn't working for me, I have tried everything I know
ОтветитьCan we see the source code as I have got to part 14 and this is the one I cannot get to work.
ОтветитьCan you provide the sourse code?
Ответитьhi can you send me the code and the database please ?
Ответить<?php
include('dbconfig.php');
if (isset($_POST['save_faculty'])) {
$name = $_POST['faculty_name'];
$designation = $_POST['faculty_designation'];
$description = $_POST['faculty_description'];
$images = $_FILES["faculty_image"]['name'];
if (file_exists("upload/" . $_FILES['faculty_image']['name'])) {
$store = $_FILES["faculty_image"]["name"];
$_SESSION['status'] = "image already exists. '.$store.'";
header('Location:faculty.php');
} else {
$query = "INSERT INTO faculty ('name','desig','descri','images') VALUES ('$name','$designation','$description','$images')";
$query_run = mysqli_query($connection, $query);
if ($query_run) {
move_uploaded_file($_FILES["faculty_image"]["tmp_name"], "upload/" . $_FILES["faculty_image"]["name"]);
$_SESSION['success'] = "faculty is Added Successfully";
header('Location: faculty.php');
} else {
echo "not done";
$_SESSION['success'] = "Faculty Not Added";
header('Location: faculty.php');
}
}
}
Data Not inserting
ОтветитьHello
ОтветитьVs code kaise setup kare for PHP, iss par ek video banao
Ответитьhello sir can you provide the source code of this because images is not uploaded in database
Ответить@Funda Of Web IT 500 internal server error with type 302 data cannot be inserted to db.
ОтветитьHello sir it not working help plz
if(isset($_POST['save_albums']))
// {
// $name = $_POST['album_name'];
// $designation = $_POST['album_designation'];
// $images = $_FILES["album_image"]["name"];
// if(file_exists("uploads/" .$_FILES["album_image"]["name"]))
// {
// $store = $_FILES["album_image"]["name"];
// $_SESSION['status'] = "Image already exists.'.$store.' ";
// header('Location: albums.php');
// }
// else
// {
// $query = "INSERT INTO albums ('name','designation','images') VALUES ('$name','$designation','$images')";
// $query_run = mysqli_query($connection,$query);
// if($query_run)
// {
// move_uploaded_file($_FILES["album_image"]["tmp_name"], "uploads/".$_FILES["album_image"]["name"]);
// $_SESSION['success'] = "Image Added";
// header('Location: albums.php');
// }
// else
// {
// $_SESSION['status'] = "Image Not Added";
// header('Location: albums.php');
// }
// }
// }
This is my code
Thanks again. Your all coding are awesome. But I think , It will be more better if you upload the source code.
ОтветитьHey any1 share me the code plzz... I badly need it..
ОтветитьI am student at Srinivas University persuing BCA in cloud technology and information security so i need your help
ОтветитьHelp me
ОтветитьSir can u share u r whatsapp number muje aaapse bohat kuch seekna hai so plz.......
Ответитьcan you provide this video source code ?
Ответитьmera data bhi insert nahi horha database main
Ответитьmera data hi insert ni horaha plzz bataden :-'
ОтветитьHello, great tutorial! Can you provide the sourse code?
Ответить