mcgrelio
03-07-2003, 03:39 AM
When I call the escalendar.php more with more than one include funtion I get a strange behaviour (I have NOT modified the calendar script):
Dates, and Days become bold while Month abd Year change from bold to normal!
I use ESC v3.1
This is the code:
<?php
echo "<table border='0'>n";
for ($iMonth = 1; $iMonth <= 12; $iMonth++) {
// 4 month per row
if ($iMonth % 4 == 1) {
echo "<tr>n";
}
echo " <td align='center' valign='top'>";
$mo=$iMonth;
$ny=0;
include("calendar_month.php");
echo "</td>n";
if ($iMonth % 4 == 0) {
echo "</tr>n";
}
}
echo "<tr>n";
echo "</table>n";
?>
I think it's a very strange behaviour!
Thanx
Cya;)
Dates, and Days become bold while Month abd Year change from bold to normal!
I use ESC v3.1
This is the code:
<?php
echo "<table border='0'>n";
for ($iMonth = 1; $iMonth <= 12; $iMonth++) {
// 4 month per row
if ($iMonth % 4 == 1) {
echo "<tr>n";
}
echo " <td align='center' valign='top'>";
$mo=$iMonth;
$ny=0;
include("calendar_month.php");
echo "</td>n";
if ($iMonth % 4 == 0) {
echo "</tr>n";
}
}
echo "<tr>n";
echo "</table>n";
?>
I think it's a very strange behaviour!
Thanx
Cya;)