[x] camshot |
|
|
|
$base='nonzonecom';
$login='nonzonecom';
$pwd='Xtic!875';
$db=mysql_connect("nonzonecom.nonzone.com", $login, $pwd);
if(!$db){
print "erreur connection $db ";
exit;
}
if(!mysql_select_db($base,$db)){
print "erreur ".mysql_error()." ";
mysql_close($db);
exit;
}
$newquery='SELECT message, titre FROM blog ORDER by tampon DESC';
$resultat=mySql_query($newquery, $db);
while($x=mysql_fetch_row($resultat))
{
print("$x[1] ");
}
?>
|
|
|