select in php
marco ghidinelli
marcogh a linux.it
Gio 22 Gen 2004 11:13:30 UTC
On Thu, Jan 22, 2004 at 11:57:07AM +0100, cartolina wrote:
>
> sto giocando col php, interfacciato ad un db postgres, ma mi pianto
> sulla sintassi
>
> select campo from tabella where ( campo = $variabile)
manda lo script che gli do' un occhio:
devi fare una roba tipo:
$pgquery="select campo from tabella where campo = ".$variabile." order by
altrocampo";
pg_exec($pgquery);
pero' sto andando a memoria..
--
BOFH excuse #362:
Plasma conduit breach
Maggiori informazioni sulla lista
Lug
|