Type: Posts; User: hanspeare
Search took 0.01 seconds.
My desired image name is the student_id of the one who is uploading the photo.
i have tried replacing it with $student_id but it says the variable is not defined.
I have a code in here which upload a photo to serve as the profile pic of a certain student. My problem now is how to rename the uploaded image to the AUTO COLLATE UNIQUE...
I recommend you to learn the moodle. You can practice in localhost by downloading xammp. While installing xammp you may also include the add on which is the MOODLE.
Hello tech soul,
i realize this is a profile photo adding problem. I choose to remodify my codes for clean and better understanding. Let me give sometime to recode it and i hope you will still be...
Hello tech soul,
i've got brand new codes now and it solves now the 3 errors. i am so delightful and inspired by your last step by step tutorial in helping me undisplaying those errors. I have...
thank you for that complete advise tech_soul8, i have started this project on mysql as my thesis and my professor just allow me for the sake of the subject but im planning to covert this to mysqli...
what i posted is the whole handler of the page except for the html.
please teach me how to set the variable $filename and from what line i must have to write it based on my codes....
There's a sticky that TUT about uploading image but i want the restrictions to be in this manner. But my problem here is no notice, no errors but the image file won't upload eventhough...
@ginerjm Sorry for the late reply i just thought no one answers me here...
But thank you for that i've been focusing on other page thinking it would spend me more time solving this but your...
i have recieved this notice
Warning: Header may not contain more than a single header, new line detected in C:\xampp\htdocs\a\Student_Edit_Handler.php on line 53
and these are my...
okay, This is so far what i got. this is the page handler where i update the records
$query = "UPDATE student_information SET first_name='$first_name',last_name='$last_name',";
This is so far what i got
This code is for the link.
and this for the download.php which i think need...
Specifically its not really file but image. Well i just thought the process may be different, i dunno.
Please comment or suggest
Hi PHP friends!!
I have manage to make a script to upload file in database and its working. I will share to you the codes so for other viewers and readers to use also.
what do you get?
what the browser displays?
hello Sir Nogdog,,
i dont know what happen,, but your codes just working now perfectly!!!
This thread has been solved.
Kodus to Sir Nogdog.
Hello there Sir Nogdog,
Your codes are doing well now,
Ignore my last 2 comments maybe the xammp server didnt update.
When i click the DELETE link. This is the notification i get
Try this one.
from your codes..
try replacing this on your second line.
$edit_id = intval($_GET['edit_id']);
Hello Sir Nogdog,
Thank you very much for the complete effort, literally i mean "complete" detection of possible errors.
i have gotten this URL
Thank you very much Sir Nogdog,
I just read it now, i'll try it after having my breakfast. I'll update you soon.
Thanks for the help PHP koyal,,
I already tried that codes but seems it doesn't work here. I can't figure it, why.
Hi Sir Nogdog,
I used the codes you have given but there is still no error notifications but there is alert saying SUCCESFULLY DELETED.
Whoah!! Sorry but i am still beginner. Honestly, i dont...
Probably , i am just too sleepy last night,,yeah your right, i miss that single qoute.
$query = ("DELETE FROM student_information WHERE student_id = '$id'");
Now it doesn't...
Hello web developers,,
i have manage to made a searchbox that displays the followng
LRN First Name Last Name Grade Section View Update Delete