Ciao,
vorrei fare vedere le foto in orrizzontale invece di verticale come posso fare??
Codice PHP:
<?php
// Includo il file di configurazione
include"config.inc.php";
?>
<?php
// Query per estrapolare il nome del file
mysql_select_db($db_name, $conn) or die ("Errore nella selezione del database: " . mysql_error());
$query_img = "SELECT * FROM _tb_image";
$result = mysql_query($query_img, $conn) or die ("Errore: " . mysql_error());
$row_img = mysql_fetch_assoc($result);
$total_rows = mysql_num_rows($result);
?>
<html>
<head>
<title>Test fotoalbum</title>
</head>
<body>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><?php do { ?><table width="130" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>[img]image/<?php echo $row_img['img_name'];?>[/img]</td>
</tr>
<tr>
<td><?php echo $row_img['img_description'];?></td>
</tr>
</table><?php } while($row_img = mysql_fetch_assoc($result));?></td>
</tr>
</table>
<?php echo "numero totale dei record trovati: ". $total_rows . "";?>
</body>
</html>
Questo e il codice da me scritto, ma non so da che parte cominciare per farle vedere in orrizzontale!
Grazie Michel