i just want to change text when i edit the text but my problem is,when
i edit the text if i don't choose the image,which is empty
so,How can i solve the problem ?
Thanks
Don't let them change the photo image using that particular edit script.
If they need to change the photo, create a separate edit script for that.
Use the script you're showing us for only changing textbox information
such as name and email.
Don't let them change the photo image using that particular edit script.
If they need to change the photo, create a separate edit script for that.
Use the script you're showing us for only changing textbox information
such as name and email.
So,when i only edit the photo ,how to recall the photo from the list.php
i call with photo id value like this value="<?php row['photo']; ?>
There is one form to edit the photo.
You show them the photo that is currently there,
and then when they pick a new one from their PC
and submit, the current photo is overwritten by
the new one.
There is one form to edit the photo.
You show them the photo that is currently there,
and then when they pick a new one from their PC
and submit, the current photo is overwritten by
the new one.
yes, i pick the picture from my pc the photo is overwritten on existinig photo
So, i just edit the name and don't edit photo ,i want to still the photo
last existance photo don't pick the photo again ,
if update the photo is empty or my script is not work if i don't choose the photo
Do you know to solve this?
Thanks for your suggestion
You can just change the photo filename name if you wish, the filename and not the actual photo.
I just don't know why you would want to do that.
When a photo is uploaded, it puts the photo(s) into a directory somewhere and
the photo filename is written into your database table? I assume that is what you're doing.
So your column name "photo" is the filename of the photo itself.