Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Tags for this Thread

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Benjamin K's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2009
    Posts
    2
    Downloads
    0
    Uploads
    0

    PHP, Mysql, PHPBB latest < I need help, 10 points for the correct fix, im desperate?

    [PHP Debug] PHP Notice: in file /includes/functions_g.php on line 24: mysql_fetch_array(): supplied argument is not a valid MySQL result resource

    ^ i get this :S but im in desperate need to make this work, the code is as follows

    function getResourceInfo($id,$us=false){
    global $db;
    $a="SELECT * FROM ".GAME_USER_TABLE." WHERE `userid` = '".$id."'";
    $b=$db->sql_query($a);
    $s=mysql_fetch_array($b);
    return $s;
    }

    its just really messed up and im pritty sure the query works fine. its just the arrays which i realy do need to work. ohh n the page that im using to use the array like this is set in a variable, but i no tht works fine,

    $ui=getResourceInfo($user->data['user_id'],$user);

    Please help me with this. thanks

  2. #2
    upsendind
    upsendind's Avatar
    Guest

    jimm для sony ericsson z710i

    Что самое поразительное, приснился ей вовсе не Сергей Сергеевич.
    За разглядыванием карточки Нику и застал хозяин.
    Известно, какая в милиции зарплата, на нее такой телефон не купишь.
    Из западных, из балтийских, даже из азиатских губерний архиереи ежемесячно доносят о тысячах и десятках тысяч обращенных.
    Затем перешла туда, где висели платья, и у одного надолго замерла.

    jimm конструктор бесплатно на телефон
    настройки jimm для sony ericsson
    как настроить jimm se
    jimm на e210
    jimm для s 5230

  3. #3
    Unregistered
    Unregistered's Avatar
    Guest

    диета андрея &

    диета при артрозе суставовкак правильно сесть на диетупохудеть за 13 днейдиета по методу королевойпохудевшие до и послерисовая диета для очищения организмахудеем с умомдиета для 17 летмне 17 лет хочу похудетьдиета 5а рецептышкола похуданиясоветы как можно похудетьчто нужно чтобы лицо похуделокак бстро похудетьдиета на 2 недели

 

 

Quick Reply Quick Reply

Click here to log in


What is the sum of 36 and 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 07-07-2010, 10:17 PM
  2. Replies: 0
    Last Post: 05-02-2010, 09:19 PM
  3. Replies: 0
    Last Post: 11-26-2009, 01:34 AM
  4. INSTALLING LATEST PHP & MYSQL ON MAC?
    By Titas in forum Discuss PHP
    Replies: 0
    Last Post: 06-15-2009, 03:58 PM
  5. Replies: 1
    Last Post: 02-23-2009, 12:13 PM

Bookmarks

Posting Permissions

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