Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
query($sec);

if($sonuc->num_rows>0)
{
while($cek=$sonuç->fetch_assoc())
{
echo "
".$cek['adsoyad']." ".$cek['telefon']." ".$cek['email']." ".$cek['konu']." ".$cek['mesaj']."
";
}
}


else
{
echo "Sivasta Hiç Kangal Bulunamadı.";
}

?>

What I have tried:

I did some research but could not find how to fix the problem. Problem: I cannot view the registration information in panel.php
Posted
Updated 13-Feb-21 17:24pm
v3
Comments
[no name] 13-Feb-21 11:32am    
And line 48 is where?
And the question is what?

What object has a num_rows property?
And what object has a fetch_assoc() method?

What you should have tried:

If you don't know, go read the documentation, that would help you sooner than posting a simple problem on a forum...

:)
 
Share this answer
 
v3
Comments
xryz sj 13-Feb-21 15:16pm    
I've rearranged the question. I would be glad if you could help.
Luc Pattyn 13-Feb-21 15:35pm    
I don't know any object that has both a num_rows property and a fetch_assoc() method. Yet you have $sonuc do both?????????????
xryz sj 13-Feb-21 16:08pm    
Yet you have $sonuc do both? I don't quite understand what you're trying to say can you be a little more open?
I misspelled the localhost name. $sec="Select * From iletisim"; instead of writing $sec="Select * From iletism"; i wrote.Thank you for your helping.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900