I try to transform a html file in -php file, but i have errors in it("Error in page.")
Where is mistake?

index.php WRONG
<?
echo <<<END
<HEAD>
<script language="JavaScript" src="date-picker.js"></script>
</HEAD>
<BODY>
<center>
<form name=calform>
<input type=text name="datebox" size=15><a 
href="javascript:show_calendar('calform.datebox');" onmouseover="window.status='Date 
Picker';return true;" onmouseout="window.status='';return true;"><img 
src="show-calendar.gif" width=24 height=22 border=0></a>
</form>
</center>
</BODY>
END;
?>

index.html GOOD:
<HEAD>
<script language="JavaScript" src="date-picker.js"></script>
</HEAD>
<BODY>
<center>
<form name=calform>
<input type=text name="datebox" size=15><a 
href="javascript:show_calendar('calform.datebox');" onmouseover="window.status='Date 
Picker';return true;" onmouseout="window.status='';return true;"><img 
src="show-calendar.gif" width=24 height=22 border=0></a>
</form>
</center>
</BODY>

tx in adv for any help
Ady

Reply via email to