Class assistance

From: Date: Tue, 03 Apr 2012 20:15:11 +0000
Subject: Class assistance
Groups: php.windows 
Request: Send a blank email to php-windows+get-30822@lists.php.net to get a copy of this message
Evening all, I am starting to learn OOP and I am creating a class that validates an array of data to save me escaping and validating: public function validateArray($testArray)
    {
        $cxn->connection()
        foreach($testArray as $sub)
        {
            // 1
            echo $sub . '<br/><br/>';
        }
    }
At // 1 i am going to escape and validate data, but then want to rebuild the array to pass back. I cannot work the rebuild of array, can you assist? -- -- Best Regards, Gavin Chalkley

« previous php.windows (#30822) next »