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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
> 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]