Log an Array |
[eluser]Paul Scott[/eluser]
You can use var_export to simply return the structure of the array as a string, instead of using the output buffer, and then you could log that. Similarly with print_r. So you could do something like Code: $my_array = array ( |
Messages In This Thread |
Log an Array - by El Forum - 09-07-2007, 07:45 AM
Log an Array - by El Forum - 09-07-2007, 07:56 AM
|