php3-list | 199807
Date: 07/31/98
- Next message: Alex Belits: "Re: [PHP3] The price of persistent connections"
- Previous message: Jen Hall: "[PHP3] image for submit button, with javascript onMouseOver"
- Next in thread: Cary Collett: "Re: [PHP3] Parse Error line 63 in a 62-line script?"
- Reply: Cary Collett: "Re: [PHP3] Parse Error line 63 in a 62-line script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi --
I have a 62-line script "main.php3" which is a traffic cop: it parses
inputs and misc information, stores data, and at the end "includes" the
appropriate .php3 script according to what was requested.
/* example (line #s added) */
01 <?php
02
03 /* store inputs in MySQL */
--
59 if ($one) {include "this.php3";}
60 elseif ($two) {include "that.php3";}
61
62 ?>
The "include" files contain standard HTML stuff with a php3 function in the
<HEAD> and a few <? .. ?> php3 code sections in the <BODY>.
The appropriate included file is found, and starts - about half the page is
displayed, no errors are displayed, then it stops. A "VIEW CODE" reveals
"Parse error in main.php3 line 63" at the end of the code.
I'm not even sure where to start looking for this one ... in main.php3? In
the included script? Have I left something off the end of "main.php3" or
the included scripts (like the "1;" at the end to keep PERL happy)?
TIA -
Bob Bowker
bowker <email protected>
--
PHP 3 Mailing List http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list: php3-digest-subscribe <email protected>
For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Alex Belits: "Re: [PHP3] The price of persistent connections"
- Previous message: Jen Hall: "[PHP3] image for submit button, with javascript onMouseOver"
- Next in thread: Cary Collett: "Re: [PHP3] Parse Error line 63 in a 62-line script?"
- Reply: Cary Collett: "Re: [PHP3] Parse Error line 63 in a 62-line script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

