Şimdi Ara

PHP-MySQL arama

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir - 2 Masaüstü
5 sn
1
Cevap
0
Favori
515
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
Öne Çıkar
0 oy
Sayfa: 1
Giriş
Mesaj
  • <?php 
    include('db.php');
    $search = $_POST['wala'];
    $check = mysql_query("SELECT * FROM patient WHERE pttc like '%$search%' or ptname like '%$search%' or ptsurname like '%$search%' ");
    $check1 = mysql_num_rows($check);
    if ($check1 != 0) {
    while($asd = mysql_fetch_assoc( $check )){
    echo"<div style = 'top: 200; left: 150; position: absolute; z-index:1;'>";
    echo"<h1>Search results</h1>";
    echo "<table border='1' cellpadding='0' cellspacing='0' style='border-color: black' width = '40%'>";
    echo $asd['pttc']," , ",$asd['ptname']," "," ",$asd['ptsurname']," ",$asd['ptteshis'];
    echo "<br>";
    echo"</table>";
    echo"</div>";
    }
    }
    else{
    echo"<script>alert('Cannot find the specified student!..')</script>";
    ECHO "<script>location.href='search.php'</script>";
    }
    ?>



    echo"<div style = 'top: 200; left: 150; position: absolute; z-index:1;'>"; kodundaki değişiklik ile sıralama şekli değiştirilebiliyor.
    sorun çözülmüştür konu kilit.



    < Bu mesaj bu kişi tarafından değiştirildi Kriptex28 -- 27 Nisan 2014; 22:37:58 >



    _____________________________
  • Yapay Zeka’dan İlgili Konular
    URL Yönlendirme
    12 yıl önce açıldı
    asp de sayfalama
    21 yıl önce açıldı
    Daha Fazla Göster
    
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.