Juan Carlos Badillo Goy escribió: > > $host = "127.0.0.1"; > $port = "5432"; > $username = "postgres"; > $password = "p*a*s*s"; > $dbname = "gestion"; > $con = pg_pconnect("host=".$host." port=".$port." dbname=".$dbname." > user=".$username." password=". $password); > }
Has probado algo asi? $username = "postgres"; $password = "p*a*s*s"; $dbname = "gestion"; $con = pg_pconnect("dbname=".$dbname." user=".$username." password=". $password); } -- Alvaro Herrera Valdivia, Chile ICBM: S 39º 48' 55.3", W 73º 15' 24.7" "If it wasn't for my companion, I believe I'd be having the time of my life" (John Dunbar) -- TIP 9: visita nuestro canal de IRC #postgresql-es en irc.freenode.net