Re: [PHP] Piping print_r output to a variable

2003-06-30 Thread Jason Wong
On Tuesday 01 July 2003 03:35, Jay Blanchard wrote: > [snip] > > Is there a way I can pipe the output of print_r() into a variable for > further processing? > [/snip] > > $variable = print_r(); > > Then use $variable? With newer versions of php (check manual) you can specify an extra parameter li

Re: [PHP] Piping print_r output to a variable

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Mike Mannakee wrote: > Hi all, > > Is there a way I can pipe the output of print_r() into a variable for > further processing? Use var_Export and set the 2nd parameter to TRUE Derick -- "Interpreting what the GPL actually means is a job best left to those

RE: [PHP] Piping print_r output to a variable

2003-06-30 Thread Jay Blanchard
[snip] Is there a way I can pipe the output of print_r() into a variable for further processing? [/snip] $variable = print_r(); Then use $variable? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php