Hello,
I wrote this code:
<?php
echo '<table width="100%" cellspacing="1" bgcolor="white" border="0" cellpadding="1" align="center">';
echo ' <thead>';
echo ' <tr>';
echo ' <td bgcolor="orange" width="20%" >nix</td>';
echo ' <td bgcolor="yellow" colspan="4">header</td>';
echo ' </tr>';
echo ' </thead>';
echo ' <tfoot>';
echo ' <tr>';
echo ' <td colspan="5" bgcolor="red" align="center">Footer</td>';
echo ' </tr>';
echo ' </tfoot>';
echo ' <tbody>';
echo ' <tr>';
echo ' <td colspan="5" bgcolor="royalblue" >You are here: </td>';
echo ' </tr>';
echo ' <tr>';
echo ' <td bgcolor="greenyellow" width="20%" >Navigation</td>';
echo ' <td bgcolor="black" width="1%"></td>';
echo ' <td bgcolor="plum" width="53%">Tasks</td>';
echo ' <td bgcolor="black" width="1%"></td>';
echo ' <td bgcolor="lightseagreen" width="25%" align="right"> ';
include "m0.php";
echo ' </td>';
echo ' </tr>';
echo ' </tbody>';
echo '</table>';
?>
and this code:
<?php
// This month
include 'c1.php'; // html tags and common form css
echo 'a:link {color: blue;}';
echo 'a:visited {color: red;}';
echo 'a:active {color: white;}';
echo 'a:hover {background-color: #aa1400;}';
echo 'a {text-decoration: none;}';
echo '</style>';
echo '<form method="post" action="m0.php">';
echo '<div id="bodyForm">';
include 'c2.php'; // common code
$time = mktime(0,0,0, $now['mon'], 1, $now['year']); // this month
include 'c3.php'; // common code
//Definition of table bgcolor and the back - next href file
print ('<table border="0" cellspacing="2" cellpadding="2" bgcolor="#ffd5db"><tr><td colspan="7"><strong>' . $date['month'] . ' ' .$date['year'] . '</strong> <a href="./m1.php">next month ></a><hr></td></tr><tr>
<th>Mon</th><th>Tue</th><th>Wed</th>
<th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th>
<tr>');
include 'c4.php'; // common code
include 'closinghtmltags.php';
?>
and now I'd like to display the calendar into the table. That's ok with include, but when I click on the Next month link in the calendar, It open's me a new page without the table. How can I manage that all my calendar links will keep into the table?
😕
sorry, I am a real newbe...