[Phplib-commit] CVS: php-lib-stable/pages showoff.php3,1.1.1.1,1.2
Brought to you by:
nhruby,
richardarcher
|
From: Richard A. <ric...@us...> - 2002-04-25 02:21:04
|
Update of /cvsroot/phplib/php-lib-stable/pages
In directory usw-pr-cvs1:/tmp/cvs-serv1132
Modified Files:
showoff.php3
Log Message:
alter usage of table class so it works
Index: showoff.php3
===================================================================
RCS file: /cvsroot/phplib/php-lib-stable/pages/showoff.php3,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** showoff.php3 17 Apr 2000 16:40:07 -0000 1.1.1.1
--- showoff.php3 25 Apr 2002 02:20:59 -0000 1.2
***************
*** 142,147 ****
// This time, the style sheet class "data" is being used.
$db->query("select * from active_sessions order by changed desc");
- // $t is reused...
printf("<h3>active_sessions data</h3>\n");
--- 142,150 ----
// This time, the style sheet class "data" is being used.
$db->query("select * from active_sessions order by changed desc");
+
+ // Create a Table instance to print that array
+ $t = new Table;
+ $t->heading = "on";
printf("<h3>active_sessions data</h3>\n");
|