How can I get the data on the id and show on the php page?
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="style/style.css"> <meta charset="utf-8"> <title>xxx</title> </head> <body> <?php $servername = 'localhost'; $username = 'root'; $password = ''; $dbname = 'big-torrent'; $conn = new mysqli($servername, $username, $password, $dbname); mysql_select_db("big-torrent"); $strSQL = "SELECT * FROM games"; $rs = mysql_query($strSQL); while($row = mysql_fetch_array($rs)) { ?> <ul id="ulform"><li id="liform"> <div class="container" align="center"> <img src="<?php echo $row['full_path'] ?>" alt="<?php echo $row['name'] ?>" class="image"> <div class="overlay"> <div class="text"><?php echo "<a href='".$row['link']."' id='atext'>".$row['name'] .'<br>'. ' - скачат - ' . $row['size'] . "</a>";?></div> </div> <div align="center" id="textname"> <?php echo $row['name']; ?> </div> </div> </li> </ul> <?php } mysql_close(); ?> </body> </html>