I'm a newbie to php. How can i refresh a div container on the page without reloading the whole page?
I don't want to have the flicker when the reload is done. It looks more elegant if the div container refreshes. In the div container I show a text changing at different times per day. I would really appreciate your help here.
Example of the div container:
<?php
if (date('w') == 6) {
if (date('H') >= 5 && date('H') < 7) { ?>
<div style="position: fixed; top: 45px; width: 100%">
<table style="background-color: #0307f6;" width="100%">
<tr style="background-color: #0307f6;">
<td align="center" style="color: #FFF;" width="100%">ACTUALLY : lorem ipsum </td>
</tr>
</table>
</div>
<?php
}
}
?>
ajax.....