Hi, Saturday, January 31, 2004, 9:22:41 AM, you wrote: CWP> Stuart <mailto:[EMAIL PROTECTED]> CWP> on Friday, January 30, 2004 2:56 PM said:
>> print '<pre>'; print_r($somearray); print '</pre>'; CWP> not to steal your glory stuart but you can make it easier on yourself by CWP> doing the following: CWP> echo '<pre>',print_r($somearray),'</pre>'; CWP> it's merely less typing. CWP> hth, CWP> chris. CWP> -- CWP> PHP General Mailing List (http://www.php.net/) CWP> To unsubscribe, visit: http://www.php.net/unsub.php That should be echo '<pre>',print_r($somearray,1),'</pre>'; or you will get a stray 1 from the return of print_r(); -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php