Firstly i've got a homepage.html in which page are included 10 images with "href" in a table.
My problem is that when I click an image I want to be transferred to the 2nd page where in this page I want to see some information that I provided(it doesn't matter what kind of info). That's the code in 2nd page.
<table width="900px" height="475px" align="center" id="mo1" style="display:none;"><div>
//Table with Info
Let's say in homepage.php you have this link that calls secondpage.php and passes the value 'mo1' to identify which table you would like to show:
<script> // set style to display:block // $_GET['showtable'] = 'mo1' document.getElementById('<?php echo $_GET['showtable']; ?>').style.display = "block"; <script> <table width="900px" height="475px" align="center" id="mo1" style="display:none;"><tr><td>//Table with Info</td></tr></table>
I hope you get the idea an adjust according to your needs.