|
RE: [PHP-INSTALL] Error trying to list images in a directory: msg#00081php.install
The only thing that holds the code together is the routine <body> and </body>, nothing else. Secondly, can you give me url that contains various mailing list for specific php needs? Sorry to be a bother. Thanks, Scott -----Original Message----- From: Frank Bax [mailto:fbax@xxxxxxxxxxxx] Sent: Wednesday, October 20, 2004 10:11 AM To: php-install@xxxxxxxxxxxxx Subject: Re: [PHP-INSTALL] Error trying to list images in a directory At 08:11 AM 10/20/04, Scott Hamm wrote: >While trying to learn Php/MySQL from "Php 5/MySQL Programming for the >absolute beginner" book, I copied the exact code and yet ran into error >saying: > >"Parse error: syntax error, unexpected $end in C:\Program Files\Apache >Group\Apache2\htdocs\Calendar\Two\test.php on line 41" > >Line 41 is a line AFTER </html> > >I might be missing something? Yes, a couple of things: 1) This list is for php install problems, not php coding problems. 2) You didn't include the source code for your test. We know this for two reasons. 2A) your error message indicates error on line 41 and the source code only has 25 lines. 2B) You mention line 41 contains </html>, but sample code does not contain this line. That said, a php parse error commonly reports a line number to be one higher than last line of php code when it cannot determine more accurately where the error is. Frank |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [PHP-INSTALL] Error trying to list images in a directory: 00081, Frank Bax |
|---|---|
| Next by Date: | Re: [PHP-INSTALL] Error trying to list images in a directory: 00081, Janet Valade |
| Previous by Thread: | Re: [PHP-INSTALL] Error trying to list images in a directoryi: 00081, Janet Valade |
| Next by Thread: | [PHP-INSTALL] Unable to load dynamic libraries - Win XP/Apache 2/PHP 4.3: 00081, weston |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |