trying to get my inbox page to refresh . found it seems to be wrote into the code of the script am using . but i am getting error when i remove //
//ontimer=\"inbox.php?action=main&sid=$sid\">";
//echo "<timer value=\"300\"/>";
echo "<p align=\"center\">";
echo "1 <a accesskey=\"1\" href=\"inbox.php?action=sendto&sid=$sid\">Send New Msg</a>";
//echo "Inbox Auto Refreshes every 30 seconds
";
error is the = sign on first lline . unexpected = .
have also tried other ways ie
echo '<meta http-equiv="Refresh"
content="10; URL=http://yoursite.example/inbox.php?action=main&sid=$sid" />';
it refreshes with that but dont keep the sid logged in. tried various functions and ways using sid $sid etc . cant seem to work it out .
thanks in advance.
//ontimer=\"inbox.php?action=main&sid=$sid\">";
//echo "<timer value=\"300\"/>";
echo "<p align=\"center\">";
echo "1 <a accesskey=\"1\" href=\"inbox.php?action=sendto&sid=$sid\">Send New Msg</a>";
//echo "Inbox Auto Refreshes every 30 seconds
";
error is the = sign on first lline . unexpected = .
have also tried other ways ie
echo '<meta http-equiv="Refresh"
content="10; URL=http://yoursite.example/inbox.php?action=main&sid=$sid" />';
it refreshes with that but dont keep the sid logged in. tried various functions and ways using sid $sid etc . cant seem to work it out .
thanks in advance.
Comment