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> |
Partager