| 
<?php
require 'class.FootPrintsInDB.php';
 
 /**
 * Class Object
 */
 $DB = new FootPrintsInDB('localhost', 'root', '', 'visitorfootprints', 'footprintdetails');
 
 /**
 * To store the visitor's information
 */
 $DB->storeInfo();
 
 /**
 * To retrieve and print the stored info
 */
 foreach ($DB->retrieveInfo() as $allInformation) {
 foreach ($allInformation as $info) {
 echo $info . ' | ';
 }
 echo "<hr>";
 }
 |