View Single Post
Old 06-30-2009, 12:47 PM   #15 (permalink)
captainmerton
The Acquainted
 
captainmerton's Avatar
 
Join Date: May 2009
Posts: 170
Thanks: 8
captainmerton is on a distinguished road
Default

include of date.functions.php and instantiation of bet form which in turn instatiates bet object which uses the validateTime() function i have looked but cannot see more than 1 include of the date.functions.php script feel like i am losing my marbles:

PHP Code:
<div id="loggedin">
<p><a href="logout.php">Logout</a></p>
<p>
<?php
    
try {
        require_once(
'./lib/date.functions.php');
        require_once(
'./lib/tablewriter.class.php');
        require_once(
'./lib/formprocessor.class.php');
        require_once(
'./lib/bet.class.php');
        
$tblWriter = new OnlineNowTable($_SESSION['name']); //create a new object
        
$tblWriter->writeTable(); //run the writeTable method  
        
$tblWriter2 = new UserDetailTable($_SESSION['name']); //create a new object
        
$tblWriter2->writeTable(); //run the writeTable method 
        
$tblWriter2 = new CollectiveMembersTable($_SESSION['name']); //create a new object
        
$tblWriter2->writeTable(); //run the writeTable method

        
$betform = new BetForm(); //create a new object
    
}
    catch(
Exception $error) {
        print 
$error->getMessage();
    }
?>
</p>
</div>
captainmerton is offline  
Reply With Quote