Date: 10/28/99
- Next message: Tore Eikeland: "[PHPLIB] PHP-LIB 7/72 etc."
- Previous message: Massimiliano Masserelli: "[PHPLIB] Self registration"
- In reply to: Mark Walter: "[PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Next in thread: Mark Walter: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Reply: Mark Walter: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
MW> PHPLIB now works nearly probperly but there is a problem with an array in the
MW> line 184 and 185 of table.inc
MW> When I do load showoff.php3 it shows the correct referenced ID.
MW> Additionally Apache gives me following error message in the active_session
MW> data:
MW> Warning: Variable passed to reset() is not an array or object in table.inc on line 184
MW> Warning: Variable passed to each() is not an array or object in table.inc on line 185
I'm trying PHP under Windows NT with OmniHTTPd (web server). I get the
same error. It must be the line $t->heading = "on" that's causing the
problem.
MW> Have also tried the the script from the introduction:
MW> <?php
MW> include("table.inc"); // requires include_path to be functioning
MW> $db = new DB_Example;
MW> $db->query("select * from active_sessions");
MW> $t = new Table;
MW> $t->heading = "on";
MW> $t->show_result($db);
MW> ?>
MW> Same thing happens. The Session are OK but there is also an error message.
Ditto. The same code does the same for me. I commented out:
//$t->heading = "on";
That avoids the warning message, but doesn't solve the real problem.
donny Hsu
dhsu <email protected>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Tore Eikeland: "[PHPLIB] PHP-LIB 7/72 etc."
- Previous message: Massimiliano Masserelli: "[PHPLIB] Self registration"
- In reply to: Mark Walter: "[PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Next in thread: Mark Walter: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Reply: Mark Walter: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

