php de dinamik bir tablom var tabloda
ali
ayşe
ali
verileri bulunuyor bu tabloda 1 tane ali göstermek istiyorum nasıl yapabilirim
Tabloda gösterilen veriyi 1 defa göstermek
6
●430
- 24-08-2010, 20:56:09Üyeliği durduruldu<?php require_once('Connections/baglan.php'); ?>
<?php
mysql_select_db($database_baglan, $baglan);
$query_goster = "SELECT * FROM aman";
$goster = mysql_query($query_goster, $baglan) or die(mysql_error());
$row_goster = mysql_fetch_assoc($goster);
$totalRows_goster = mysql_num_rows($goster);
?><!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 border="1">
<tr>
<td>id</td>
<td>deger</td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_goster['id']; ?></td>
<td><?php echo $row_goster['deger']; ?></td>
</tr>
<?php } while ($row_goster = mysql_fetch_assoc($goster)); ?>
</table>
</body>
</html>
<?php
mysql_free_result($goster);
?>