Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: How to reset an object after using MoveNext()?

    You'd probably find way better performance if you just did it all in one SQL query, instead of nested PHP loops.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Mar 2012
    Posts
    5
    Plugin Contributions
    0

    Default Re: How to reset an object after using MoveNext()?

    How would I go about doing it that way?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: How to reset an object after using MoveNext()?

    You wrote a MySQL query to retrieve data, right? So, change that query to include whatever logic that your comparison is trying to do, and then just output the results instead.

    You can find information on writing queries in MySQL at the MySQL website: http://dev.mysql.com/doc/
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 31 Jul 2012, 11:33 AM
  2. v139h Fatal error: Call to a member function MoveNext() on a non-object
    By welshop.com in forum General Questions
    Replies: 1
    Last Post: 15 Jul 2012, 03:36 PM
  3. Replies: 4
    Last Post: 23 Jan 2010, 09:35 PM
  4. Replies: 0
    Last Post: 10 Nov 2008, 02:37 PM

Posting Permissions

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