View Single Post
ישן 27-02-06, 12:09   # 4
miniature
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 1,754

miniature לא מחובר  

עשיתי:
PHP קוד:
        $query = @mysql_query("SELECT name, Count(*) FROM table WHERE name Like '%$q%'");
            
$r mysql_fetch_array($query);
            
$query_count $r['name'];
            
$query_count strip_tags($query_count);
            echo 
"&nbsp;&nbsp;&nbsp;There's&nbsp;<b>" $query_count "</b>&nbsp;results for the query&nbsp;<b>" $q "</b>.\n"
תוצאה:
קוד:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/catdance/royalgames.3dfaculty.com/digital/search.php on line 18
   There's  results for the query d.
__________________
יואב.

דרכים ליצירת קשר:

אימייל: thebigfire@walla.co.il
הודעה פרטית
  Reply With Quote