este es mi conexion:
Código PHP:
Ver original<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
function connectToDB( $dbName="" ) {
$hostdb = 'localhost'; /*los datos son correctos */
$userdb = 'root';
$passdb = 'root';
$namedb = $dbName ? $dbName : 'movedb';
if (!$link) {
}
if (!$db_selected) {
}
return $link;
}
?>
</body>
</html>