Results 1 to 3 of 3

Thread: Why is this While loop not working?

  1. #1
    Join Date
    Sep 2007
    Location
    Maui
    Posts
    642
    Thanks
    284
    Thanked 15 Times in 15 Posts

    Default Why is this While loop not working?

    I figured it out!
    Last edited by kuau; 06-30-2011 at 05:19 AM. Reason: became a non issue

  2. #2
    Join Date
    Jun 2011
    Location
    Pearl of the East
    Posts
    54
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    toinks!

  3. #3
    Join Date
    Sep 2007
    Location
    Maui
    Posts
    642
    Thanks
    284
    Thanked 15 Times in 15 Posts

    Default

    Turned out it had nothing to do with the while loop. I forgot I had a sql command in the pageheader include and it used $result, so it overwrote my array that fed the while loop because that sql command used $result too. So I changed the variable name and it worked perfectly. Explaining the problem here made me realize what was wrong. So DD solved my problem after all. Thanks!

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
  •