Image type

how to go another page on click image

<input type="image" src="images/search-button.png">

Your question makes no sense (or your thread title) (or your HTML code).

Do you want to link an image to go to another page? For that you want to use the A tag and wrap it around an IMG tag.


<a href="linkhere"><img src="imagehere"></a>

This isn’t PHP either. Unless you want to get the image type from your image?