SitePoint Sponsor

User Tag List

Page 7 of 7 FirstFirst ... 34567
Results 151 to 151 of 151
  1. #151
    SitePoint Guru hisham777's Avatar
    Join Date
    Dec 2005
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok am trying to do the statistics function
    i started like this
    still not working

    PHP Code:
     function statistics(){
     
    $sql "SELECT COUNT(*) FROM articles";
     
     
    $res my_query($sql);
     
    $num mysql_num_rows($res);
     return 
    $num;
     } 
    Last edited by hisham777; Apr 12, 2006 at 12:29.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •