Re: [PHP-DB] Last ID from database?

2002-06-26 Thread Devrim GUNDUZ
in the table) { // then use this query: SELECT id FROM my_table ORDER BY id DESC limit 1; } :-) Best regards. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP Database Mailing List (http

Re: [PHP-DB] [PHP] pg_connect() unable to connect to PostgreSQLserver :could not connect to server

2002-07-22 Thread Devrim GUNDUZ
that parameter, then it will connect to the database via Unix domain sockets, which is really faster than TCP-IP sockets (and more secure). HTH. Best regards. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr

Re: [PHP-DB] PHP4 Not Seeing PostgreSQL 7.2

2002-07-22 Thread Devrim GUNDUZ
will assume that the username that it will use while connecting to PostgreSQL is devrim. So, use postgres user for your connections... Or use another username and grant access to that user. Best regards. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr

Re: [PHP-DB] [PHP] pg_connect() unable to connect to PostgreSQLserver :could not connect to server

2002-07-22 Thread Devrim GUNDUZ
. -- Devrim GUNDUZ [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://devrim.oper.metu.edu.tr - -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] header

2002-09-05 Thread Devrim GUNDUZ
iii.. Be sure that your code produces no output before header line. HTH -- Devrim GUNDUZ [EMAIL PROTECTED] Tel : (312) 295 9318 [EMAIL PROTECTED] Faks : (312) 295 9494 Web : http://devrim.oper.metu.edu.tr