Skip site navigation (1) Skip section navigation (2)

Re: vistas!!!

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: O§Kr <lestatoscar(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: vistas!!!
Date: 2006-05-30 04:19:07
Message-ID: c2d9e70e0605292119o32a4382at8f1ee57e00742b6f@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
On 5/29/06, O§Kr <lestatoscar(at)gmail(dot)com> wrote:
>
> tengo una vista en postgres se puede jalar directamente desde
> php......................ojala me puedan ayudar...de antemano gracias....
>

que quieres decir con "jalar"? sera usarla?
desde php puedes usar pg_connect para conectarte a postgres y pg_query
para ejecutar una sentencia sql , lo cual incluye hacer un "select *
from vista"

http://www.php.net/manual/en/ref.pgsql.php

-- 
Atentamente,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
                                       Richard Cook

In response to

  • vistas!!! at 2006-05-30 04:06:59 from O§Kr

pgsql-es-ayuda by date

Next:From: Jaime CasanovaDate: 2006-05-30 04:35:04
Subject: Re: "ayuda de vistas"
Previous:From: O§KrDate: 2006-05-30 04:06:59
Subject: vistas!!!

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group