anyone know how to randomly show email load from csv file ?
This is my code :
<?php
function random_phrase ()
{
$quotes = file ("Bounced_Email.csv");
$num = rand(1,10 intval (count ($quotes))) * 10;
echo $quotes[$num] . "<br>" . $quotes[$num + 1];
}
?>
<?php random_phrase (10);?>
Actually i want to show 10 emails from my CSV file (randomly) but not sure why still show error.
anyone can help ? please
Thanks
Aucun commentaire:
Enregistrer un commentaire