echo " <TABLE>";
forEach ( $response as $ind=$val ) {
#
# vers.1
echo "<tr>...." .$ind."....." .$val ;
# ver.2
sprintf ( .... ) ;
}
about SPRINTF() you will find here http://ru2.php.net/manual/en/function.sprintf.php[^]
echo " <TABLE>";
forEach ( $response as $ind=$val ) {
#
# vers.1
echo "<tr>...." .$ind."....." .$val ;
# ver.2
sprintf ( .... ) ;
}
about SPRINTF() you will find here http://ru2.php.net/manual/en/function.sprintf.php[^]
At first i`m preffer preg_* ( alja Perl reg expression ) 1. here is man with many examples http://ru2.php.net/manual/en/function.preg-replace.php[^] 2. Look here if you use multiline text : http://ru2.php.net/manual/en/regexp.reference.internal-options.php[^] there are meny examples present.