Re: [PHP-DB] Help with

2005-09-02 Thread Fen Lu
identified by '$password'; mysql_query($grant_privilege, $db); $db-close(); ? Can anyone help? Thanks Richard -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- From : Fen lu

Re: [PHP-DB] Storing an array on a table?

2005-09-02 Thread Fen Lu
. or any of its control, controlled, affiliates and subsidiaries companies. No part of this message or attachments may be used or reproduced in any manner whatsoever. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- From : Fen lu

Re: [PHP-DB] PHP5-MySQL Not Connecting Through Socket

2005-09-02 Thread Fen Lu
mysql.sock= Again, I can connect to DB through other programs (non-php) or via commandline and even TCP but not through Unix socket file!! Any ideas? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- From : Fen lu

Re: [PHP-DB] Pagination problems

2005-09-02 Thread Fen Lu
-- From : Fen lu

Re: [PHP-DB] PHP5-MySQL Not Connecting Through Socket

2005-09-02 Thread Fen Lu
for whomever who reads this, the solution proposed is to `chmod 755 /usr/local/mysql/tmp' Thanks to that individual who assisted me on this. On 9/2/05, Fen Lu [EMAIL PROTECTED] wrote: how about change bind-address = 127.0.0.1 http://127.0.0.1 to bind-address = your.real.ip.address may

Re: [PHP-DB] Does PHP strip out the seconds from a SQL Server datetime field?

2005-12-06 Thread Fen Lu
I think there's nothing to your 'mssql_pconnect()' ~ As far as I known, in Oracle, the 'datetime' is stored as a 13 integer, it's a Unix timestamp so you won't lose any microsecond while save the 'datetime' but I didn't found how to do with your problem~

Re: [PHP-DB] Does PHP strip out the seconds from a SQL Server datetime field?

2005-12-06 Thread Fen Lu
Try these for a test, I haven't check it~ $mytime=strtotime($stime) date('Y-m-d H:i:s',$mytime); -- From : Fen lu