bonjour j'ai créer une table dans my sql qui contient des champs dont un champ qui contient une image de type blob . j'utilise le code suivant pour afficher la table
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
27
28
29
30
31
32
$query = "SELECT * from assembly  ";
$result = mysql_query($query) or die(mysql_error());
// Recuperation des resultats
 echo  "<table border=1 ><tr><th>N</th><th>device_id</th><th>Tool_description</th><th>Tool_Area</th><th>Tool_Location</th>
 <th>Serial Number</th><th>BRAND</th><th>RECEPTION DATE</th><th>BUY OFF DATE</th><th>image</th></tr>";
 while ($row = mysql_fetch_row($result)) {  
  $N = $row[0];
 $device_id= $row[1];
 $Tool_description= $row[1];
 $Tool_Area=$row[2];
 $Tool_Locationl=$row[3];
 $SerialNumber = $row[4];
 $BRAND= $row[5];
 $RECEPTIONDATE= $row[6];
 $BUYOFFDATE=$row[7];
 $image=$row[8];
 
 
  echo "<tr>"
  . "<td>" . $row[0] . "</td>"
  . "<td>" . $row[1] . "</td>"
  . "<td>" . $row[2] . "</td>"
  . "<td>" . $row[3] . "</td>"
  . "<td>" . $row[4] . "</td>"
  . "<td>" . $row[5] . "</td>"
  . "<td>" . $row[6] . "</td>"
  . "<td>" . $row[7] . "</td>"
  . "<td>" . $row[8] . "</td>"
  . "<td>" . $row[9] . "</td>"
  . "</tr>";
}
echo "</table>";
. le problème c'est que tous les champs s'affiche sauf le champ image qui m'affiche des caractères de cette façon
GIF89a\I����g��{���TTVghh������EEF��V��i��׺��֪xxz��Ӵ�L����������������9�������S��U��C��U��I��^��4