Include file error (novice).



I have a form which I use to get a date range for reports. I am
beginning to build many more reports than initially thought, and I use
this form in each one. I expect to manage/improve the form, so I want
to just include it from it's own file.
I want to break out of PHP for my form area (instead of having to deal
with a whole bunch of print/echo statements and the added debugging
layer), but am getting an error.

ERROR:
Parse error: syntax error, unexpected $end in /home/voyager1/
public_html/turbine/dateRange_form.inc on line 17

How do I remedy the error?

Here are the ENTIRE contents of dateRange_form.inc:
?>
<form name="dateRange" method="GET" >
<table>
<tr>
<td align="center" class="">From date:
<input name='fromDate' value='<?=date("Y-m-
d",mktime(0,0,0,date("m")-1,1,date("Y")));?>' size=15>
</td>
<td align="center" class="">To date:
<input name='toDate' value='<?=date("Y-m-
t",mktime(0,0,0,date("m")-1,1,date("Y")));?>' size=15>
</td>
<td align="center">
<input type='submit' value='Search'>
</td>
</tr>
</table>
</form>
<?PHP
.



Relevant Pages

  • Re: Database Comparison?
    ... > You are making an assumption that automation must be desktop-based. ... The last 3 versions of ms-access ... My point was that building the reports is ... the PHP and MySql don't have ANYTHING decent in terms ...
    (comp.lang.php)
  • Re: PHP and Access
    ... I've had to do a somewhat major project with ... What I know is that we're currently using PHP (written by ... does do well is allow very easy creation of forms and reports. ...
    (comp.lang.php)
  • Re: Report writing in PHP - what tools for making formating nice?
    ... > A client of mine wants to start generating some reports from their PHP / ... But due to the dynamic nature of the reports and what is ... You can generate reports in either PDF or RTF. ... The exact approach to generating PDF would depend on what PDF ...
    (comp.lang.php)
  • Re: PHP "equivalent" of Jasper Reports
    ... Is there a PHP equivalent of Java's Jasper Reports? ... I haven't had a chance to try out PHP-Java integration, but this looks like a cool opportunity to use it. ...
    (comp.lang.php)
  • Inaccurate Reports Concerning PHP Vulnerabilities
    ... There have been a number of reports circulating about possible ... vulnerabilities in PHP. ... gain control of the PHP interpreter, nor is it an integer overflow of any ...
    (Bugtraq)