execute(); $say = $sorgu->fetchColumn(); echo 'Sistemde '.$say.' Kullanıcı " /> execute(); $say = $sorgu->fetchColumn(); echo 'Sistemde '.$say.' Kullanıcı " />
1. sayfa
<?php include("baglan.php"); $sorgu = $baglan->prepare("SELECT COUNT(*) FROM uye"); $sorgu->execute(); $say = $sorgu->fetchColumn(); echo 'Sistemde '.$say.' Kullanıcı bulunmaktadır.'; ?>
Merhaba siteyi çalıştırdığım zaman hata alıyorum
Hata:
Fatal error: Call to a member function prepare() on null in
< Bu mesaj bu kişi tarafından değiştirildi DH Anonim -- 15 Nisan 2022; 15:11:49 >
Bu mesajda bahsedilenler: @burak jr