make the output a bit more readable
This commit is contained in:
parent
618b93d42e
commit
02fa970569
@ -22,7 +22,7 @@ function xchan_content(&$a) {
|
||||
|
||||
if($r) {
|
||||
foreach($r as $rr) {
|
||||
$o .= str_replace("\n","<br />",print_r($rr,true)) . EOL;
|
||||
$o .= str_replace(array("\n"," "),array("<br/>"," "),print_r($rr,true)) . EOL;
|
||||
|
||||
$s = q("select * from hubloc where hubloc_hash like '%s'",
|
||||
dbesc($r[0]['xchan_hash'])
|
||||
@ -30,7 +30,7 @@ function xchan_content(&$a) {
|
||||
|
||||
if($s) {
|
||||
foreach($s as $rr)
|
||||
$o .= str_replace("\n","<br />",print_r($rr,true)) . EOL;
|
||||
$o .= str_replace(array("\n"," "),array("<br/>"," "),print_r($rr,true)) . EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user