Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2

Thread: mysql error

  1. #1
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default mysql error

    If wrong section please move.

    Lines 76 - 87
    PHP Code:
    $fetch2 mysql_query("SELECT * FROM `threads` WHERE `thr_id` = '$_GET[id]' ORDER BY `id` DESC");
    while (
    $thread mysql_fetch_array($fetch2))
    {

    $threadtitle "$thread[title]";
    $bbctt1 BBCODE($threadtitle);

    $oopers mysql_query("SELECT * FROM `posts` WHERE `thr_id` = '$thread[id]' ORDER BY `id` DESC LIMT 0, 1");
    $poper mysql_fetch_array($oopers);

    if(
    $thread[sticky] == Yes)

    Error:

    Code:
    Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/****/public_html/joyfreak/forum.php on line 84
    Line 84
    PHP Code:
    $poper mysql_fetch_array($oopers); 
    Any suggestions?

    Thanks

    Moved by Agesilaus (Forum Moderator) from Design & Development: Please post in the correct forum next time.
    Last edited by Agesilaus; 01-01-2008 at 10:33 PM.
    Looking for a good desiner to design a social networking template.

    PM me.

  2. #2
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    Nevermind, Sorted

    Thread Closed
    Looking for a good desiner to design a social networking template.

    PM me.

Posting Permissions

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