You are here: Re: [PHP] PHP Printing Error Help « PHP « IT news, forums, messages
Re: [PHP] PHP Printing Error Help

Posted by Chirantan Ghosh on 08/15/05 19:48

Ho John,

I put each check box with name & tried to get the values as I get of Name,
etc.
Somehow it didn't send that info so, now I tried to get the info of the
whole TABLE named "InterestedNumber"(which contains all check boxes)

<?
//////after all codes////
$mailBody .= "Full Name: $name\n";
....
$mailBody .= "Company Info: $Company Info\n";
$mailBody .= "Interested Numbers: $InterestedNumber\n";
$mailBody .= "Interested Area: $InterestedArea\n";
$mailBody .= "Comments: $comments\n\n\n";
$mailBody .= "$todaytime";

/////// THIS is where I put in the check box////

How ever the main problem for me is "Interested Numbers:
$InterestedNumber\n"; part where I have no clue what "\n" stands for OR why
is it repeated in the "Comments" section.

The page is http://www.primarywave.com/BrokerOutpost_Contact.htm you can
see the source code if you like.

Thanks a lot for the input,
C


----- Original Message -----
From: "John Nichel" <john@kegworks.com>
To: <php-general@lists.php.net>
Sent: Monday, August 15, 2005 12:31 PM
Subject: Re: [PHP] PHP Printing Error Help


> Chirantan Ghosh wrote:
>> Hi Guys,
>>
>> I am new to PHP coding but that is no excuse for the mess I am making
>> here.
>>
>> The ideal page for my needs is:
>> http://www.primarywave.com/BrokerOutpost_Contact.php
>> (Simple form in PHP where all form values are mailed)
>>
>> I could not make the CHECK BOX work in PHP page so tried in this HTM
>> page.
>> It prints out part of the PHP code itself.
>> http://www.primarywave.com/BrokerOutpost_Contact.htm
>
> What isn't working with the check boxes? How are you retrieving the
> values upon processing the form?
>
> --
> John C. Nichel
> ÜberGeek
> KegWorks.com
> 716.856.9675
> john@kegworks.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация