Menu

mysql_numrows

Help
fvgtest
2011-10-03
2012-06-07
  • fvgtest

    fvgtest - 2011-10-03

    Have this error message:

    "Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in
    G:\xampp\htdocs\addressbook\index.php on line 51"

    and

    "Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean
    given in G:\xampp\htdocs\addressbook\include\address.class.php on line 323"

    on Addressbook home page. When I add new entries they do not show up in the
    table.

    What does this mean? How do I fix it?

     
  • simsys

    simsys - 2011-11-22

    Have the same problem. Can't find a fix. I know it is group related.

     
  • Ed Ward

    Ed Ward - 2012-01-11

    I have the same sort of problem:

    Warning: mysql_numrows(): supplied argument is not a valid MySQL result
    resource in /home/content/f/r/e/frescrat/html/addbook/index.php on line 51

    Number of results: 0

    and

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
    resource in
    /home/content/f/r/e/frescrat/html/addbook/include/address.class.php on line
    323

    Anyone have a clue as to how I should proceed?

    Thanks!

    Ed

     
  • black_pearl

    black_pearl - 2012-02-17

    all that i have found, they don't effect on the entire system.... they are
    only to make a summation of total group and then total name list from all of
    the groups..... so far i think the mistake is on the sql query on line 51 of
    index page.... not on the line 323 of address.class.php......... Please post
    if some one could fix it.....

     
  • black_pearl

    black_pearl - 2012-02-17

    hi all, i have solved the problem.... :) use latest version of Apache and
    MySql for this address book...... :)

     
  • Gert Willem

    Gert Willem - 2012-03-03

    Although I'm running PHP 5.2.17 and MySQL 5.1.55 I still have errors in my
    errorlogs:

    PHP Warning: mysql_numrows():

    supplied argument is not a valid MySQL result resource in

    /home/httpd/vhosts/kunde.nl/httpdocs/adressen/index.php on line 252,

    referer:
    http://kunde.nl/adressen/edit.php

    PHP Warning:

    mysql_fetch_array(): supplied argument is not a valid MySQL result

    resource in /home/httpd/vhosts/kunde.nl/httpdocs/adressen/index.php on

    line 254, referer:
    http://kunde.nl/adressen/edit.php

    Probably, as a result, I'm not able to put entries in the database.

    Any help is appreciated!!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.