Hi Suhas,

Thanks a lot for the closing "{", you are a life saver.
I can't believe I could have been so blind & then even stupid not to see after your mail.

Thanks again,
C
============================
Jay,
Thanks to you too.

----- Original Message ----- From: "Suhas" <[EMAIL PROTECTED]>
To: "Chirantan Ghosh" <[EMAIL PROTECTED]>
Sent: Thursday, November 10, 2005 3:17 PM
Subject: Re: [PHP] FORM not printing


The correct code is attached

On 11/10/05, Chirantan Ghosh <[EMAIL PROTECTED]> wrote:
[snip] There is no closing bracket for if [/snip]

Hi Suhas,
I am a newbie..didn't quite catch you. I thought I closed the "{", please
explain if you can.
Thanks,
C
================
$mailBody = "Information:\n\n";
 if($number){
  $mailBody .= "Number:       $number\n\n";
 }
 $mailBody .= "Full Name:       $name\n";

----- Original Message -----
From: "Suhas" <[EMAIL PROTECTED]>
To: "Chirantan Ghosh" <[EMAIL PROTECTED]>
Sent: Thursday, November 10, 2005 3:06 PM
Subject: Re: [PHP] FORM not printing


There is no closing bracket for if

U need good editor like Winsyntax

Suhas

On 11/10/05, Chirantan Ghosh <[EMAIL PROTECTED]> wrote:
> I tried that was with no avail. The JS was just cosmetics by the > original
> designer.
>
> Now I am trying  a new angle.
> The Form remains in:  http://www.primarywave.com/eRSP_Contact.htm
> but the form processing code is in
> http://www.primarywave.com/eRSP_Contact.php
>
> Its says I have an error in last line of the  code i.e line 35.
>
> ----- Original Message -----
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> To: "'Chirantan Ghosh'" <[EMAIL PROTECTED]>; "Jay Blanchard"
> <[EMAIL PROTECTED]>
> Cc: <php-general@lists.php.net>
> Sent: Thursday, November 10, 2005 2:31 PM
> Subject: RE: [PHP] FORM not printing
>
>
> > [snip]
> > Unfortunately I am still at loss.
> > I posted the code I wrote in this URL:
> > http://www.primarywave.com/NONworkingCODE.txt
> > The Source displays exact as is for all markup.
> >
> > If you can help it would be great.
> > [/snip]
> >
> > Remove all of the JavaScript code from the page and try it then. What > > is
> > the
> > JavaScript for, it appears to do nothing.
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--

Contact @
Suhas Pharkute.
[EMAIL PROTECTED]
208 830 8915 (C)
208 429 6943 (H)




--

Contact @
Suhas Pharkute.
[EMAIL PROTECTED]
208 830 8915 (C)
208 429 6943 (H)

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

Reply via email to