php-windows Digest 3 Apr 2012 19:39:46 -0000 Issue 4019
Topics (messages 30821 through 30821):
Class help
30821 by: Gavin
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin 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
--- End Message ---