Subj : Re: Mysticphp Disply last callers in a web page
To : Richard Fairman
From : Netsurge
Date : Fri Oct 11 2019 03:23 pm
RF> I'm using the mysticphp library to pull in a list of callers to a web
RF> page An ar ray is created and displays on screen How do I format it for
RF> a readable display
You want a foreach formula for each item contained in the array. Something
like this:
$lastcalls=$mystic->lastcallers(10, true);
$lcr = array_reverse($lastcalls, true);
foreach ($lcr as $lc){
$lc['city']=$mystic->decode($lc['city']);
echo "<tr>";
echo "<td width='25%'>".$lc['user']."</td>";
echo "<td >".$lc['city']."</td>";
$ldate=date("d/m/y",$lc['date']);
echo "<td align='right'>".$ldate."</td>";
echo "</tr>";
;
|15frank |08// |15netsurge
|07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness
|11SciNet |03ftn hq |08% |07
https://scinet-ftn.org
--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)