1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Document sans titre</title>
</head>
<body>
<?php
$eee=mysql_connect('localhost','titi','x') or die("erreur sql".mysql_error());
mysql_select_db('titi',$eee) or die("erreur sql".mysql_error());
$toto = mysql_query("SELECT * from texte") or die("erreur sql".mysql_error());
while ($tata = mysql_fetch_array($toto))
{
echo $tata['valeur_texte'];
}
mysql_close();
?>
</body>
</html> |