Code:
<html>
<head>
<title>Download Image</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
$connection = mysql_connect("localhost","root","") or die("impossible de se connecter au serveur mysql.<p>Veuillez réessayer plus tard");
$res = mysql_select_db("upload2") or die("impossible de sélectionner la base de données <b>ecole</b>.<p>Veuillez réessayer plus tard");
$requeteStr = "SELECT name,texteNouvelle FROM upload2";
$resultatRequete = mysql_query($requeteStr) or die("la requete de sélection a échoué.<p>Veuillez réessayer plus tard");
while ($row = mysql_fetch_array($resultatRequete))
{
?>
<img height="300" src="<?echo $row['name']?>">
<?php
echo $row['texteNouvelle'];
}
?>
</body>
</html>
the problem was that i was echoing out the path but what i need it to do was to echo the image name <img height="300" src="<?echo $row['name']?>">
but ty for these little tips it has help me out
and lol when i query the select results twice i laugh it too LOL
so just relax and have fun now 
if you want i will show you how i will animate my news when it will be done
Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum