Okay I am not very good at this, but basically you will have to go into your MySQL database and figure out which table stores the log in information, specifically the time field.
Then you will have to pull that out with php, and show it on the page.
Something like this should get you started:
PHP Code:
<?php
/* Data of SQL-server */
$server= "localhost"; /* Address database server */
$user= "xxxxxx"; /* Database username */
$password= "yyyyyyy"; /* Database Password */
$database= "dbxxxxxx"; /* name of database */
$table= "zzzzzzz"; /* Name of table, you can select that */
/* Accessing SQL-Server and querying table */
MYSQL_CONNECT($server, $user, $password) or die ( "<H3>Server unreachable</H3>");
MYSQL_SELECT_DB($database) or die ( "<H3>Database non existent</H3>");
$result=MYSQL_QUERY( "SELECT * FROM $table order by name");
/* Output data into a HTMl table */
echo "<table border=\"1\" align=center width=50%";
echo "<tr>";
echo "<div color=\"#ffff00\">";
while ($field=mysql_fetch_field($result)) {
echo "<th>$field->name</A></th>";
}
echo "</font></tr>";
while($row = mysql_fetch_row($result)) {
echo "<tr>";
for($i=0; $i < mysql_num_fields($result); $i++) {
echo "<td align=center>$row[$i]</td>";
}
echo "</tr>\n";
}
echo "</table><BR><BR>";
/* Close SQL-connection */
MYSQL_CLOSE();
?>
Bookmarks