Ppt: Veri Tabanı Arama İşlemleri
Arama.php Sayfası
<?php
require(“vt.php”);
$sorgu = mysql_query(“SELECT * FROM liste where ad_soyad LIKE ‘Me%'”);
echo “<table border=1>”;
echo “<td width=50> <b>Id</b></td>”;
echo”<td width=150><b>Ad Soyad</b> </td>”;
echo “<td width=50><b>Yas</b></td>”;
echo “<td width=50><b>Cinsiyet</b></td></b>”;
while( $birsatir = mysql_fetch_array($sorgu))
{
echo “<tr>”;
echo “<td width=50> $birsatir[0] </td>”;
echo”<td width=150> $birsatir[1] </td>”;
echo “<td width=50>$birsatir[2]</td>”;
echo “<td width=50>$birsatir[3]</td>”;
echo “</tr>”;
}
?>
Bir yanıt bırakın Cevabı iptal et