Hi Philip,

would $result = print_r($var, 1); do the trick?

print_r has a flag (the 2nd arg) which allows you to return the data
into a variable ratjher than being outputted

Paul

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to