PHP SQL Question

Discussion in 'PHP' started by werewe12, Nov 26, 2009.

  1. #1
    Hey guys. I'm trying to call a field from a SQL table. It seems to work on a user page but not on the main page where the main table is. Anyone can help me sort this out real quick? Let me know and I will PM you with details. Thanks.
     
    werewe12, Nov 26, 2009 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Share table structure and query with us to help you sort out the issue.
    If query is perfect, then problem might be in code, in that case post code snippet as well.
     
    mastermunj, Nov 27, 2009 IP
  3. bhagwant.banger

    bhagwant.banger Active Member

    Messages:
    99
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    60
    #3
    Please send us more details so that we can actually help you out real quick.
     
    bhagwant.banger, Nov 27, 2009 IP
  4. travelmoth

    travelmoth Active Member

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    maybe on a user page..you only do 1 query........but on the main page ..you do 2 queries(or more).......then the 2nd overwrite the 1st....if you use the same var....
     
    travelmoth, Nov 27, 2009 IP