Replacing image through a manual Sgc

Asked

Viewed 61 times

1

I have an image and I would like it to be replaced by another when the Administrator logged in to the site and informed the name of the image in a input.

What is the best way to do this using the code in 50 images, each in one div, and only the option to replace the image with another would appear when the Administrator was in the admin panel?

PHP code with database registration or Javascript?

1 answer

0

with PHP because you need to have a login and password for the administrative panel and save the url to the image.

  • Considering the question, I think that’s the only possible answer...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.