How can I resize an image on mouse hover using PHP with $_GET
? I know that this can easily be done with css or js but I want to know how to do it with php. I don't want to upload a file either. So let's say I have html code with an <img>
tag and an image, how can I use PHP or $_GET
to resize that image on hover?
EDIT:
What i mean is to put the image between <a>
tags and then when clicked it refreshes the page but adds the the name of the image to the url so then I could use $get
to access and echo a style to resize it.