Datebase name: BDPetKit-V2
Supplied package ID: SPID706800
Managed product ID: MPID2562848
MS SQL hosting plan: MS SQL Plan "Novice"
MS SQL Server version: MS SQL 2012 Express
MS SQL Server address: BDPetKit-V2.mssql.somee.com
Login name: petkit_SQLLogin_3
Login password: nunx
Connection string: workstation id=BDPetKit-V2.mssql.somee.com;packet size=4096;user id=petkit_SQLLogin_3;pwd=nunxkorawa;data source=BDPetKit-V2.mssql.somee.com;persist security info=False;initial catalog=BDPetKit-V2
<?php
class conexion{
function recuperarDatos(){
$con = mysql_connect('BDPetKit-V2.mssql.somee.com', 'petkit_SQLLogin_3','nunxkorawa')or die("fallo");
mysql_select_db('BDPetKit-V2', $con) or die("No se encontro la Base de Datos");
$resultado = mysql_query('SELECT * FROM clientes');
while ($fila = mysql_fetch_array($resultado)) {
echo $fila['calle'] ;
}
}
}
?>