Re: Silly table and php question.
| From: | elias | Date: | Thu, 12 Jul 2001 12:09:14 +0000 |
| Subject: | Re: Silly table and php question. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57572@lists.php.net to get a copy of this message | ||
You can also do as:
<img src="checkonline.php">
and create a file: checkonline.php
<?
// make some tests to determine if user is online
if ($online_condition)
{
Header("Location: ../images/online.gif");
}
else
{
Header("Location: ../images/offline.gif");
}
exit();
?>
Good luck,
"Johan Vikerskog" <Johan.Vikerskog@ecs.ericsson.se> wrote in message
news:A9D7A677B724D411A8B600204840355E03515065@eseldnt102.ld.sw.ericsson.se..
.
> Hi all.
> I know this is a silly question but i dont know how to do it so thats why
i am asking.
> Be gentle towards me. Im just a stupid swede! ;-)
>
> statement:
> I have a table cell in my upper right corner.
>
> I have a small php script which checks wheter my user is online or not. If
the user is i want to update that cell
> with an gif that i made that says online.
> How do i update just that cell? Is there a special function in PHP to do
that?
>
> I know the question is silly but bare with me.
>
> //Johan