Results 1 to 7 of 7

Thread: PHP Error.

  1. #1
    Join Date
    Jun 2005
    Location
    USA
    Posts
    2,047
    Tokens
    0

    Latest Awards:

    Default PHP Error.

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 170

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 380

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 590

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 798

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 1006

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 1214

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/hablaugh/public_html/djpanel/Panel/timetable/form.php on line 1422
    Perm Show / DJ Slot Added!
    Could anybody sort it out?
    *Image Removed*

    Thank you Brad for the sig


    Signature edited by Nick- (Forum Super Moderator): Please do not have images that exceed the limit for non VIPs (700 x 150) in your signature.

  2. #2
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Means that a column in your sql query is invalid.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  3. #3
    Join Date
    Aug 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,351
    Tokens
    0

    Latest Awards:

    Default

    dentafrices dj panel? did u edit the dbconfig.php in timetable folder?

  4. #4
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    693
    Tokens
    0

    Default

    Quote Originally Posted by M3LYC-M View Post
    dentafrices dj panel? did u edit the dbconfig.php in timetable folder?
    It wouldn't be connection probs with the db, because it connects fine. Otherwise it would return an error about connection issues.

    edit;
    That is, assuming that's all the errors the person is seeing?
    Last edited by Heinous; 10-10-2006 at 01:44 PM.
    XHTML, CSS, AJAX, JS, php, MySQL.

    --

    HxF moderators can't read timestamps.

  5. #5
    Join Date
    Sep 2006
    Location
    Oxford, United Kingdom
    Posts
    574
    Tokens
    0

    Default

    Yeah, Your php code is looking for or trying to add something into a column which doesnt exist in your mysql database.

  6. #6
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Cheaphost4u View Post
    Yeah, Your php code is looking for or trying to add something into a column which doesnt exist in your mysql database.
    How is this trying to add something to the database? mysql_num_rows get the number of rows in the table. Check your SQL query and make sure the table exsists and that you have selected the right database by using mysql_select_db
    Last edited by Tomm; 10-10-2006 at 03:17 PM.

  7. #7
    Join Date
    Sep 2006
    Location
    Oxford, United Kingdom
    Posts
    574
    Tokens
    0

    Default

    Quote Originally Posted by Organised View Post
    How is this trying to add something to the database? mysql_num_rows get the number of rows in the table. Check your SQL query and make sure the table exsists and that you have selected the right database by using mysql_select_db

    Sorry Master, I didnt really read the function it was doing.

    I only read the invalid resource bit.

Posting Permissions

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