HEX
Server: Apache
System: Linux ns308404 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 8.3.31
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/onlinedev.com/httpdocs/snakes/test.php
<?php
	$link = mysql_connect("213.11.100.112", "dicky", "pitonul");
	$db = mysql_select_db("onlinedev", $link);
	//var_dump($link);
	
	$result = mysql_query ("SELECT * FROM `mail_t` WHERE 1");
	
	//print_r($result);
	for ($i = mysql_num_rows($result); $i >= 1 ; $i--) { 
		//echo "numrows= ".$i;
		$row = mysql_fetch_assoc($result);
		echo "<ul><li style='display:inline; border-right: 2px solid silver; padding: 10px'>".$row['id']."</li><li style='display:inline; padding: 10px'>".$row['address']."</li></ul>";
	}
	
	if (isset($result)) mysql_free_result($result);
	
	mysql_close($link);
?>