0

i have register form include id,name,Lname,email,images in database.

i want change image name that uesrs upload according id and then upload and insert into database with php.

user image name:324fg.jpg convert according id field name:12.jpg

12 is number of id user in database.

1 Answer 1

0
$sql = "UPDATE userImage SET imageName='324fg.jpg' WHERE id=12";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.