Date: 05/21/00
- Next message: Bryan McGuire: "Re: [phplib] Help! The same code with diff. result!"
- Previous message: Yves OLOUI: "[phplib] Error"
- Next in thread: Bryan McGuire: "Re: [phplib] Help! The same code with diff. result!"
- Reply: Bryan McGuire: "Re: [phplib] Help! The same code with diff. result!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dear all,
I use the code below from the phplib document to test the
connection to database, but it WON'T work every times.
For example, if I load the page for 20 times, it work only ay1-5, 11
times, and others result in a error.
Please Help!
Regards
Bill
-----------------------------------------------
Code:
<?php
include ("table.inc");
$db = new DB_Example;
$db->query("select * from auth_user");
$t = new Table;
$t->heading = "on";
$t->show_result($db);
?>
Error message:
Warning: Unknow command in db_mysql.inc on line 73
Database error:pconnect(localhost, root, $Password) failed
MySQL Error: ()
Session halted.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Bryan McGuire: "Re: [phplib] Help! The same code with diff. result!"
- Previous message: Yves OLOUI: "[phplib] Error"
- Next in thread: Bryan McGuire: "Re: [phplib] Help! The same code with diff. result!"
- Reply: Bryan McGuire: "Re: [phplib] Help! The same code with diff. result!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

