Dreamweaver , regions repetés
Lukaaaaa
-
lukaaaaa -
lukaaaaa -
Bonjour,
Mon probleme est : J'ai créé une page ou j'affiche les resultats de ma page de donné , j'ai créé cette page , et j'ai ajouté un tableau normal , avec 2 colonnes et une ligne , j'ai fait en sorte que dans une colonne on affiche par exemple (id,img...) des trucs de la base de donné quoi , mais mon problème c'est que ces résultats s'affiche l'un a coté de l'autre et ça ne s'arrête jamais vu que ma region repeté et une colonne dans le tableau , la longueur de la page devient énorme , donc moi ce que je veux c'est que sur une ligne on n'affiche que 3 résultats puis on revient a la ligne et on affiche 3 et ainsi de suite :) , Merci j'ai vraiment besoin de votre aide ..
Mon probleme est : J'ai créé une page ou j'affiche les resultats de ma page de donné , j'ai créé cette page , et j'ai ajouté un tableau normal , avec 2 colonnes et une ligne , j'ai fait en sorte que dans une colonne on affiche par exemple (id,img...) des trucs de la base de donné quoi , mais mon problème c'est que ces résultats s'affiche l'un a coté de l'autre et ça ne s'arrête jamais vu que ma region repeté et une colonne dans le tableau , la longueur de la page devient énorme , donc moi ce que je veux c'est que sur une ligne on n'affiche que 3 résultats puis on revient a la ligne et on affiche 3 et ainsi de suite :) , Merci j'ai vraiment besoin de votre aide ..
A voir également:
- Dreamweaver , regions repetés
- Régions les moins chaudes de france - Guide
- Cette option de connexion est désactivée en raison des échecs des tentatives de connexion ou des arrêts répétés. utilisez une autre option de connexion ou laissez votre appareil allumé pendant au moins 2 heures, puis réessayez. - Forum PC portable
- Connection désactivée après trop de tentatives av mauvais md - Forum Windows 10
- Animal voyage island adventure regions - Télécharger - Action & Aventure
- Dreamweaver - Forum Gestion et lecture audio
3 réponses
<?php require_once('Connections/connector.php'); ?>
<?php
mysql_select_db($database_connector, $connector);
$query_afficherresults = "SELECT * FROM vbysr_vidyo";
$afficherresults = mysql_query($query_afficherresults, $connector) or die(mysql_error());
$row_afficherresults = mysql_fetch_assoc($afficherresults);
$totalRows_afficherresults = mysql_num_rows($afficherresults);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<table width="100%" border="0" cellspacing="1">
<tr>
<?php do { ?>
<th width="11%" scope="col"><img src="miniature/<?php echo $row_afficherresults['video_link']; ?>.png" width="94" height="83" /></th>
<th width="11%" scope="col"><?php echo $row_afficherresults['video_title']; ?></th>
<?php } while ($row_afficherresults = mysql_fetch_assoc($afficherresults)); ?><th width="78%" scope="col"> </th>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($afficherresults);
?>
si j'ai bien compris:
@+
<table width="100%" border="0" cellspacing="1">
<tr>
<th width="11%" scope="col">Video Link</th>
<th width="11%" scope="col">Video Title</th>
<th width="78%" scope="col"></th>
</tr>
<?php
do { ?>
<tr>
<td><img src="miniature/<?php echo $row_afficherresults['video_link']; ?>.png" width="94" height="83" /></td>
<td><?php echo $row_afficherresults['video_title']; ?></td>
<td></td>
</tr>
<?php
} while ($row_afficherresults = mysql_fetch_assoc($afficherresults));
?>
</table>
@+
<?php require_once('Connections/connector.php'); ?> <?php mysql_select_db($database_connector, $connector); $query_afficherresults = "SELECT * FROM vbysr_vidyo"; $afficherresults = mysql_query($query_afficherresults, $connector) or die(mysql_error()); $row_afficherresults = mysql_fetch_assoc($afficherresults); $totalRows_afficherresults = mysql_num_rows($afficherresults); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <table width="100%" border="0" cellspacing="1"> <tr> <?php do { ?> <th width="11%" scope="col"><img src="miniature/<?php echo $row_afficherresults['video_link']; ?>.png" width="94" height="83" /></th> <th width="11%" scope="col"><?php echo $row_afficherresults['video_title']; ?></th> <?php } while ($row_afficherresults = mysql_fetch_assoc($afficherresults)); ?><th width="78%" scope="col"> </th> </tr> </table> </body> </html> <?php mysql_free_result($afficherresults); ?>