MySQL Forums
Forum List  »  PHP

Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Posted by: yArAsA yArAsA
Date: August 22, 2005 11:28AM

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in d:\wwwphp\arama-motoru\sonuc.php on line 35

Hata bu. This error.

Kod yapısı aşağıdadır. The php codes is under.

mysql_select_db(aranacak);
$sorgu = "select * from aratablo where ".$tip." like '%".$kelime."%'";
$sonuc = mysql_query($sorgu);

$num_sonuc = mysql_num_rows($sonuc);//23. satır-23.row

echo '<p>Aradığınız kelime ile ilgili'.$num_sonuc.' bulundu</p>';
----------------------------------------------------------------------
Bu hatayı nasıl giderebilirim. How is correct this error?

Options: ReplyQuote


Subject
Written By
Posted
August 10, 2005 10:15PM
October 26, 2005 04:35PM
October 26, 2005 04:38PM
January 14, 2006 03:43AM
September 08, 2005 02:08PM
Re: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
August 22, 2005 11:28AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.