Return Message

ORAPOST ORAPOST@santandersupernet.com
26 Sep 98 20:39:49 +0200


--=_ORCL_859220_0_0
Content-Transfer-Encoding:quoted-printable
Content-Type:text/plain; charset="iso-8859-1"

The included message could not be delivered to the following invalid mail
names.  Please verify these names and try them again.

Bad name:  oscarap

--=_ORCL_859220_0_0
Content-Type:message/rfc822

Date: 26 Sep 98 20:02:36
From:"ORAPOST" <ORAPOST@santandersupernet.com>
To:pgsql-ayuda@tlali.iztacala.unam.mx
Subject:Return Message
Reply-to:BSN.PERSEUS:pgsql-ayuda@tlali.iztacala.unam.mx 
Return-Path:<pgsql-ayuda-owner@tlali.iztacala.unam.mx>
Received:from tlali.iztacala.unam.mx by santandersupernet.com (SMI-8.6/SMI-SVR4) id UAA29786; Sat, 26 Sep 1998 20:36:26 +0200
Received:(from majordom@localhost) by tlali.iztacala.unam.mx (8.8.7/8.8.7) id MAA25224 for pgsql-ayuda-outgoing; Sat, 26 Sep 1998 12:06:13 -0500
X-Authentication-Warning:tlali.iztacala.unam.mx: majordom set sender to owner-pgsql-ayuda using -f
Received:from santandersupernet.com ([195.53.80.2]) by tlali.iztacala.unam.mx (8.8.7/8.8.7) with SMTP id MAA25220 for <pgsql-ayuda@tlali.iztacala.unam.mx>; Sat, 26 Sep 1998 12:06:08 -0500
Received:by santandersupernet.com (SMI-8.6/SMI-SVR4) id UAA25960; Sat, 26 Sep 1998 20:04:42 +0200
Message-Id:<199809261804.UAA25960@santandersupernet.com>
Sender:owner-pgsql-ayuda@tlali.iztacala.unam.mx
Precedence: bulk
MIME-Version: 1.0
Content-Type:multipart/mixed;
	boundary="=_ORCL_859085_0r0"


--=_ORCL_859085_0r0
Content-Type:text/plain; charset=iso-8859-1
Content-Transfer-Encoding:quoted-printable

The included message could not be delivered to the following invalid mail
names.  Please verify these names and try them again.

Bad name:  oscarap

--=_ORCL_859085_0r0
content-type:message/rfc822

Date: 26 Sep 98 19:22:32
From:Bruno Unna <bruno@iac.com.mx>
To:pgsql-ayuda@tlali.iztacala.unam.mx
Subject:Re: Más datos
Reply-to:BSN.PERSEUS:BSN.PERSEUS:pgsql-ayuda@tlali.iztacala.unam.mx 
Return-Path:<pgsql-ayuda-owner@tlali.iztacala.unam.mx>
Received:from tlali.iztacala.unam.mx by santandersupernet.com (SMI-8.6/SMI-SVR4) id UAA25357; Sat, 26 Sep 1998 20:00:42 +0200
Received:(from majordom@localhost) by tlali.iztacala.unam.mx (8.8.7/8.8.7) id LAA25131 for pgsql-ayuda-outgoing; Sat, 26 Sep 1998 11:23:43 -0500
X-Authentication-Warning:tlali.iztacala.unam.mx: majordom set sender to owner-pgsql-ayuda using -f
Received:from miller.sac.com.mx (ver3-130.uninet.net.mx [200.38.135.130]) by tlali.iztacala.unam.mx (8.8.7/8.8.7) with ESMTP id LAA25127 for <pgsql-ayuda@tlali.iztacala.unam.mx>; Sat, 26 Sep 1998 11:23:34 -0500
Received:from iac.com.mx (bruno@localhost [127.0.0.1]) by miller.sac.com.mx (8.8.7/8.8.7) with ESMTP id MAA00924 for <pgsql-ayuda@tlali.iztacala.unam.mx>; Sat, 26 Sep 1998 12:22:32 -0500
Message-ID:<360D22D8.EC24B6F1@iac.com.mx>
Organization:Internet de Alta Calidad (http://www.iac.com.mx/)
X-Accept-Language:en
References:<360BE589.6222@ictnet.es>
Sender:owner-pgsql-ayuda@tlali.iztacala.unam.mx
Precedence: bulk
X-MIME-Autoconverted:from 8bit to quoted-printable by tlali.iztacala.unam.mx id LAB25131
MIME-Version: 1.0
Content-Type:text/plain; charset=iso-8859-1
Content-Transfer-Encoding:quoted-printable

Montse Sans wrote:
> 
> Hola de nuevo
> 
>         Esta es la sequencia que se realiza antes de hacer el select:
> 
>         Existe una p=E1gina HTML, donde hay un formulario que llama a un
cgi, y
> le passa los datos: assignatura=3D29&serveis=3DCDT
> Entonces el cgi despues de una serie de condiciones y de haber
> recuperado los datos, es cuando realiza el select ( where
> codi_assignatura=3D$input{'assignatura'}";
> donde $input{'assignatura'} contiene el 29
> 
> En la bd codi_assignatura esta declarado como un varchar(3).

Creo que aqu=ED puede estar la fuente de tu problema, Montse. 
Si declaraste un campo como varchar(3) --de echo, cualquier forma 
de char--, y has de comparar su valor con constantes en un 'query', 
debes encerrar la constante en comillas sencillas. Por ejemplo:
"select ... where codi_assignatura=3D'$input{'assignatura'}';"


> 
> Y el problema es que no me retorna nada, cuando en principio me deberia
> de retornar un print que hago para ver si funciona y ha pasado por ahi.

Un consejo: siempre termina tus 'queries' con ';'.


> 
> Muchas gracias
> 
> Montse

De qu=E9, buena suerte.
-- 
"Create like a god,                Bruno Unna <bruno@iac.com.mx>
 command like a king,                     Desarrollo de Software
 and work like a slave."                Internet de Alta Calidad
             Kawasaki                   PGP public key available
--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text   : cancelacion pgsql-ayuda
--=_ORCL_859085_0r0--


--=_ORCL_859220_0_0--

--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text   : cancelacion pgsql-ayuda