Project II Corrections

  1. The function:

    function getAccount($actno)

    should be:

    function getAccount($date, $actno)

    Notice the additional parameter $date, which was listed in the comments.
    fnfbc.php was updated to reflect in this in version 8, 10/5/02
  2. The function:

    /** Retrieve information about a payee
    * @param cid int payee's id number
    * @param pid int payee id
    * @return customer customer information if customer has setup
    * the payee (identified by pid) or null
    **/
    function getPayees($cid, $pid) {
    }


    should be replaced with:

    /** Retrieve information about a payee
    * @param cid int payee's id number
    * @param pid int payee id
    * @return char[30] customer information if customer has setup
    * the payee (identified by pid) or null
    **/
    function getPayeeInfo($cid, $pid) {
    }


    Notice the changed function name and return type.
    fnfbc.php was updated to reflect in this in version 8, 10/5/02
  3. The transaction test data (in the project document):

    8/7 - Perlis Open #42565 with $1000

    should be replaced with:

    8/7 - Perlis Open #42465 with $1000

    and

    8/20 Karp Open #84422 $200

    should be replaced with:

    8/20 Knuth Open #22448 with $200