Hi all,
I have a small php script that connects to the UptimeRobot API and displays a simple table to show if my site routers are online. This can be seen working here http://www.pvmon.uk/status/index.php
I am not a coder and have never done anything with php but I have managed to style the table with CSS in a fashion and I am happy with it. The only problem I have is the time stamp. I want the time stamp in a row at the very bottom of the table, and in a smaller bold font. I am happy to apply the style once it is in the correct place but I cannot get anything to work when trying to add a bottom table row. PHP code for the page below…
[php]
Satellite Status <?php echo "Satellite | Status |
---|---|
"; echo $monitor['friendlyname']; echo " | "; if ($monitor['status'] == 2) { echo "Online"; } elseif ($monitor['status'] == 9) { echo "Offline"; } elseif ($monitor['status'] == 0) { echo "Paused"; } else { echo "Not Available"; } } echo " |
Can anyone please help?
Many thanks,
Bret