gallery photo css photo_simple

TO LET OPINIONS , QUESTION , REQUEST or JUST FOR LET FRIENDLY MESSAGE

gallery photo css photo_simple

Postby audi68 on Mon Aug 24, 2009 8:47 pm

Salut RAD j utilise ta gallery css

Mais j ai un petit souci avec l affichage depuis ma base de donnée

Les photo s affiche par ligne photo1 ligne1 photo2 ligne 2 et ainsi de suite
Ce qui veut dire que j ai 3 fois la meme photo

As tu une idee pour afficher les photod comem tu l as actuellement

voici mon code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250" />
<meta name="generator" content="PSPad editor, http://www.pspad.com" />
<title> photo_simple html CSS
</title>
<link rel="stylesheet" type="text/css" href="photo_simple.css" />
</head>
<body>
<?php


require "connect.php";

// On récupère le contenu de $_GET dans l'adresse, soit ce qu'il y a après page.php?voiture=
$voit=$_GET['voiture'];




$reponse = mysql_query("SELECT * FROM photo2 WHERE idd ='$voit'")or die(mysql_error()); // Requête SQL
while ($data = mysql_fetch_array($reponse) )
{
?>
<div id="gallery">
<em id="thumbs"><a href="#nogo"> <img src="admin/<?php echo $data['url']; ?>" alt="1" title="photo_simple.css" /></a><a href="#nogo"> <img src="admin/<?php echo $data['url']; ?>" alt="1" title="photo_simple.css" /></a>
<a href="#nogo">
<img src="admin/<?php echo $data['url']; ?>" alt="1" title="photo_simple.css" /></a></em> </div>
<?php } ?>
</body>
</html>

Merci de ton aide
User avatar
audi68
 
Posts: 108
Joined: Tue Jan 08, 2008 9:26 pm

Return to RAD ZONE FORUM

Who is online

Users browsing this forum: No registered users and 2 guests

cron