[img=http://img51.imageshack.us/img51/7659/sanstitre5xv.jpg]
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
<BODY>
<table width="800px">
<tr>
<td>
<?PHP
// LOGIN DETAILS START
require ("connect.php");
// LOGIN DETAILS END
 
/*
----- Don't Edit Bellow That line -----
*/
mysql_pconnect("$host", "$login", "$password");
mysql_select_db("$db");
//on compte le nombre d'entrées où le champ "connecte" est égal à 1
$reponse = mysql_query("SELECT * FROM tamilxtreme");
 
//on ouvre déjà le tableau
 
echo "<table width='100%'><TR>";
while ( ($donnees = mysql_fetch_object($reponse)) )
 
echo "<TD><img src='$donnees->image'><br> Movie : $donnees->movie <BR> song : $donnees->song <BR></TD><TD><TD>";
echo "</TR></table>"
 
?>
<td>
</tr>
</table>
</BODY>
</HTML>
bonjour je suis en train de coder un site,
je voudrais affichier 5 par ligne mais ca affcihe tous sur la meme ligne quelqu'un pourait m'aider ? svp ?