Hi!
I was wondering if anyone knows how to return an array as string.
e.g. the text array('@[GTID_LATINA]@' => '','@[GTID_STRAIGHT]@' => '','@[GTID_ASIAN]@' => '');
Best Regards, Snt
[man]implode[/man]
I actualy meant, how to return the text array('foo'=>'bar'); to parse it later using eval().
anyone ?
[man]print_r[/man]
Thanks for the contributuion but I'm actualy looking for a solution in wich the text is useable within PHP.
bool print_r ( mixed expression [, bool return]) If you would like to capture the output of print_r(), use the return parameter. If this parameter is set to TRUE, print_r() will return its output, instead of printing it (which it does by default).
bool print_r ( mixed expression [, bool return])
If you would like to capture the output of print_r(), use the return parameter. If this parameter is set to TRUE, print_r() will return its output, instead of printing it (which it does by default).
$var = print_r($array, TRUE); do_something($var);