how to separate data
hi ,
i'm included MTR to the site and its working correctly. now i want is to get that data to a table.here is the example table.
Hostname %Loss Rcv Snt Last Best Avg Worst
1. example.lan 0% 11 11 1 1 1 2
2. ae-31-51.
3. ae-1.ebr2.
4. ae-2.ebr2.
5. ae-1.ebr1.
6. ge-3-0-
and
this e code shows the result
$output = shell_exec('mtr ' -r -c );
echo "<pre>$
.so i need is get this as a table to show.how can i do that.
give some help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu mtr Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- thusitha
- Solved:
- Last query:
- Last reply: