On Fri, Mar 30, 2001 at 12:14:41PM +0200, Arnaud ASSAD wrote:
>
>
> First, thank for all your previous answers which helped me go on a little
> bit further...
>
> However, part of my question was left unanswered, and I'm now struggling
> with it...
>
> Part1 of my php code receive params and use them to construct a form via a
> private FORM class
> in some case this part redirect to another page (success on posting info)
>
> Part2 of my php code display a form based on the value of the FORM object
> built by part1.
>
> I put the Part2 in the content of my page
> But I'm having problem to place the Part1, all my attempts to place it
> before the BODY
> (beccause of the redirect constraint) were failures...
>
> often it was :
> "Parse error: parse error in /usr/local/apache/libexec/midgard-root.php3
> on line 20"
It most probably means that somewhere in your code you have disbalanced { and }
>
> To be complete I must add that this Part1 use 2 includes ( the 2 classes I
> use are
> FORM (constructing form) and CONNEXION (Database handling))
>
>
> So in short : WHERE SHOULD I PLACE THIS PARTT1 to make it works ?
>
> Or at least what are the pitfalls I must know ?
> Bonus question (When I'm started can't stop ;-) Is there a way to
> investigate the error message
> I've found /usr/local/apache/libexec/midgard-root.php3 on my system but as
> it's only 19 lines long
> (comments+<[code-compat]>+<[code-global]>+<[code-init]>+<[ROOT]>) where can
> I find the error ??
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | ALT Linux Team | Minsk Linux Users Group
www.midgard-project.org | www.altlinux.ru | www.minsk-lug.net
-- Linux is obsolete
(Andrew Tanenbaum)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]