Calendar functions not working on PHP 4.1.2
Posted: Fri Oct 18, 2002 6:34 am
Hi,
I'm having trouble getting some MCAL function to work, whenever i use them I get an error message :
Fatal error: Call to undefined function: mcal_day_of_year() in /home/sites/numweek.php on line 24
here's the code
<body>
<h3>Number of day in year</h3>
<h4>Date</h4>
<form action="#">
<input type="text" size="3" name="j"/> /
<input type="text" size="3" name="m"/> /
<input type="text" size="3" name="a"/>
<br/><input type="submit" value="Calculate"/>
</form>
<?
if (($j != 0) && ($m != 0) && ($a != 0))
print("<p>Résultat : ".mcal_day_of_year($a,$m,$j));
?>
</body>
I'm having trouble getting some MCAL function to work, whenever i use them I get an error message :
Fatal error: Call to undefined function: mcal_day_of_year() in /home/sites/numweek.php on line 24
here's the code
<body>
<h3>Number of day in year</h3>
<h4>Date</h4>
<form action="#">
<input type="text" size="3" name="j"/> /
<input type="text" size="3" name="m"/> /
<input type="text" size="3" name="a"/>
<br/><input type="submit" value="Calculate"/>
</form>
<?
if (($j != 0) && ($m != 0) && ($a != 0))
print("<p>Résultat : ".mcal_day_of_year($a,$m,$j));
?>
</body>