I would like to know is there a way to echo first row from table in database wait/sleep for 5 seconds and then echo the second row?
Thank you in advance for your help!>
you can use sleep() function:
sleep()
echo ' '; while ($row = $strSql->fetch_assoc()) { $rows[]=$row; foreach($rows as $row){ $words1=$row['words']; echo $words1; sleep(5); } } echo '';
read more