bcoz I think you did like this end(explode(".",$filename)); instead of writing explode....... declare explode as variable and then end($exet); it is the correct way
It's not a good idea to directly put the image in to the database. What you could do, add a field "image_path text" and then save the path to where you put the image. So when your application needs the image, you get the path and then render
I recommend to you, I have problem in the select option. Like this .. if i choose ID 1 in select option. Automatic other input is already filled directly. Because already get directly from id 1... please masters helping m.. :'(
Notice: Undefined index: files in C:\xampp\htdocs\fotolog\adm\upload_fotos.php on line 6 Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\fotolog\adm\upload_fotos.php on line 6
Thanks boss,you are completed my tiny admin backend for my website daily,thanks so much.I appreciate that
For those who are with problems to implement this solution
Should do the trick, nowdays you have to set enctype="multipart/form-data"
Your videos have helped me a lot keep up thw good work
It is our work dayo
Thanks for nice lesson.
why you use ' contentType :false,
processData :false ' ?
I want the file to be uploaded immediately and do the AJAX. So how do I accomplished that way?
Can you tell.me why you are using random name instead of real name of thta file logic behind? at #7:30
images are not previewing. original name is BetBit.jpg
new name is 55883.jpg but the img is not uplading and also not previewing why
Notice: Only variables should be passed by reference in C:\xampp\htdocs\fileuploadjquery\upload.php why i am getting this notice?
bcoz I think you did like this end(explode(".",$filename));
instead of writing explode....... declare explode as variable and then
end($exet);
it is the correct way
wow I LOVE YOUR VIDEOS
how can the image's file be imported on database?
It's not a good idea to directly put the image in to the database. What you could do, add a field "image_path text"
and then save the path to where you put the image. So when your application needs the image, you get the path and then render
Instead of uploading it is displaying ';}} else {echo'}} else {echo ";}? >. Please help
thanks for helping me :) ...
Thank you Rezthu Maxsi for your kind words.
I recommend to you, I have problem in the select option. Like this .. if i choose ID 1 in select option. Automatic other input is already filled directly. Because already get directly from id 1... please masters helping m.. :'(
Tremindos sir g
Notice: Undefined index: files in C:\xampp\htdocs\fotolog\adm\upload_fotos.php on line 6
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\fotolog\adm\upload_fotos.php on line 6
What can you do to debug this programs is start small, make the js part, and then just go "echoing" stuff, is not a smart way to debug, but it works
thanks for solution
love u : )