Re[6]: Newbie seeks urgent help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Tijnema,

Friday, July 13, 2007, 10:45:48 PM, you wrote:

> You must have some unclosed single quote ( ' ) somewhere, on one of
> these lines probably:
> $youremail =
> $websitetitle =
> $thankyoupage =

Found the problem :-)
in the block:
 $body =<<<EOB
Empresa: $_POST[empresa_name]
Contato: $_POST[contato_name]
Fone: $_POST[fone]
Fax: $_POST[fax]
Email: $_POST[email]
Produto: $_POST[produto]
Origem: $_POST[origem]
Destino: $_POST[destino]
Quantidade: $_POST[quantidade]
Peso: $_POST[peso]
Comprimento: $_POST[comprimento]
Altura: $_POST[altura]
Largura: $_POST[largura]
EOB;

i had the names between [ ] with a " ' ', so i removed the " ' " and it worked.

Now i still have 2 problems:
1) the email of the sender is left blank:
Empresa: LUC
Contato: LUC
Fone: 909
Fax: 90°0
Email: 
Produto: UIOU
Origem: IUIIO
Destino: IIOP
Quantidade: OIOIOP
Peso: IPOIOP
Comprimento: OIOI
Altura: POIIPO
Largura: IPOO

2) the return mail to the sender also leaves his name blank:
Obrigado por nos contatar,"here should be the name of the contact" . Recebemos sua mensagem e entraremos em contato em breve



-- 
Best regards,
 Luc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux