SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2002
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    more than one mysql_fetch_array on a page

    more than one mysql_fetch_array on a page -- it gives me problems.

    i've verified that all my variables are different (between the multiple queries) is there a rule as to how many mysql_fetch_**** (array/row/etc) can be on a page?

    if I comment out my 2nd one, the page loads (although missing some data)
    if I allow this 2nd query to run, the page never loads.

  2. #2
    SitePoint Zealot
    Join Date
    Mar 2002
    Location
    Perth, Australia
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hakalugi
    more than one mysql_fetch_array on a page -- it gives me problems.

    i've verified that all my variables are different (between the multiple queries) is there a rule as to how many mysql_fetch_**** (array/row/etc) can be on a page?

    if I comment out my 2nd one, the page loads (although missing some data)
    if I allow this 2nd query to run, the page never loads.
    Can you post your code?

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2002
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by peDey
    Can you post your code?
    hey, it seems that although my variable names /were/ different- they weren't different enough.

    eg: q36ans and q36opts were being used. i change to var names w/ different chars in the first 3 spots (q36ans & opts36) and now it seems to work.

    weird.

    thanks, tho.


Bookmarks

Posting Permissions

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