Re: HELP - Parse Error

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

 



Well, I got it to display a thank you page instead of what I had. I'm
rolling with the punches. Got to work on why my email table is not building
right. Stay tuned!

On Tue, Aug 4, 2009 at 11:09 AM, Allen McCabe <allenmccabe@xxxxxxxxx> wrote:

> Ashley - I am formatting this way, it just didn't translate into gmail : )
>
> Daniel, Martin, and Jim - Thanks very much, my php runs now, however I
> don't get the result page anymore. My inbox receives the form (missing
> cells, but that's another issue), but the browser doesn't load
> processccu.php, it says it cannot display the webpage.
>
> note: I did address the mismatch of the DIV and TABLE (including TR's,
> TD's) tags, so I don't think it's my HTML.
>
>   On Tue, Aug 4, 2009 at 10:58 AM, Ashley Sheridan <
> ash@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>>  On Tue, 2009-08-04 at 10:56 -0700, Jim Lucas wrote:
>> > Allen McCabe wrote:
>> > > *Parse error*: syntax error, unexpected $end in *
>> > > /home/a9066165/public_html/admin/processccu.php* on line *231*
>> > >
>> >
>> > I have learned from a number of similar mistakes that this error message
>> > /normally/ means that I have a miss-matched number of brackets on a
>> > foreach, while, or if, etc... statement.
>> >
>> > Usually the line number will represent the last line in your script.  In
>> > this case, they don't seem to match...
>> >
>> > Jim
>> >
>> > > I did some major code rewriting about halfway through (lines 114-132),
>> and
>> > > suddenly I'm getting the above ERROR. I have examined the code line by
>> line,
>> > > but I'm still relatively new to this, and I don't even know what to
>> look
>> > > for!
>> > >
>> > > Here is the complete code, from beginning <?php tag to closing </html>
>> tag:
>> > >
>> >
>> >
>> >
>> Thats why I always prefer to have the brackets line up in the code (I
>> forget what the style is called) so that it looks like this:
>>
>> function someFunction
>> {
>>    if(condition)
>>    {
>>        do something
>>    }
>> }
>>
>> etc..
>>
>> Thanks,
>> Ash
>> http://www.ashleysheridan.co.uk
>>
>>
>

[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