eh si...ma poi l'ho rimesso:
perchè var_dump non stampa nulla?Codice PHP:
<?
mysqli_connect('localhost','spippetta','','my_spippetta');
if(mysqli_connect_errno()){echo "Failed to connect to MySQL: ".mysqli_connect_error();exit;}
$query = 'SELECT MAX(id) AS alto FROM MyGuests;';
$result = mysqli_query($query) or die(mysqli_error());
var_dump(mysqli_fetch_assoc($result));