Re: RE: Ayuda con PostgreSQL!!
| From: | Sandino Araico Sánchez | Date: | Fri, 01 Dec 2000 04:09:54 +0000 |
| Subject: | Re: RE: Ayuda con PostgreSQL!! | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-4557@lists.php.net to get a copy of this message | ||
"Tomas V.V.Cox" wrote:
> Christian Martiniera wrote:
> >
> > PRUEBA ESTO!!!
> >
> > $sql="INSERT into cursos(nombrecampoa,nombrecampob)values(" .$cursoid
> > .",'"
> > .$fecha." ')";
> > echo "<br>Esto es el sql".$sql;
> >
> > pg_Exec($conn,$sql);
>
> Todos los values en postgres deben ir entre signos ''.
> insert into tal ('$id','$fecha');
>
No, los tipos numéricos deben ir sin '', solo las usan los de tipo texto (char,
varchar, text) y fechas/horas
--
Sandino Araico Sánchez
There are 2 places that I can feel safe.
On my bed and in my toilet. - ]d