<?php
/*mysql_select_db('laroca',mysql_connect('localhost','root','123456'))or die (mysql_error());*/

$mysqli = new mysqli("localhost", "root", "123456", "laroca");
if ($mysqli->connect_errno) {
    echo "Fallo al conectar a MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error;
}
/*echo $mysqli->host_info . "\n";*/


?>
