Jump to content

[SOLVED] time limit question


justAnoob

Recommended Posts

I have a session that is displayed.... I only want it to display for 10 seconds... What should I do below?

<?php
if($count > 0)
{
$_SESSION['dup'] = "This username is already registered. Please try again.";
}
?>

<?php
if(isset($_SESSION['dup']))
{
   set_time_limit(10);                     //this doesn't work.. where to put it?
   echo '<div class="duppy">';
   echo $_SESSION['dup'];
   echo '</div>';
}
	?>

Link to comment
https://forums.phpfreaks.com/topic/161898-solved-time-limit-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.