Hello. On the page I bring out links from the database, as a result a list of the form appears on the page:
Reference 1
Reference 2
Reference 3
Reference 4
Reference 5
etc., the list is big.
I deduce a method
while ($my_link = mysql_fetch_assoc($all_link)) { <div class="link"><a href="$my_link[url]">$my_link[name]</a></div> if ($my_link['photo'] != NULL) { <div class="link_ph"><img src="/photo/$my_link[photo]"></div> } }
As you already understood from the code, a photo is displayed under each link. So, I want to make the photo appear under the link only if the link was hovered over with the mouse.
I would be grateful for any help in this task.