Menu
Hi everyone, I am trying to make php swap a tumbnail image from a table.
so here is what I have:
<table>
<tr>
<td><img id=”img1 name=”img1″ src=”/img1.jpg” /></td>
</tr>
<tr>
<td><img id=”img2 name=”img2″ src=”img2.jpg” /></td>
</tr>
<tr>
<td><img id=”img3 name=”img3″ img3.jpg” /></td>
</tr>
</table>
so I need PHp to be able to use the name attribute to echo one of the images and swap the images on refresh. ( or how can i even just echo one of the images) the swapping image would be a tumbnail so the size need to be reduced as well. ( i can do that from the html.)
Thanks