<?php
if(isset($_POST['submit'])){
$array = (file("https://website.com/wp-content/uploads/2021/04/random.txt"));
$a = $array;
$b=array("🎟️10%","🎟️20%","🎟️30%","🎟️40%","🎟️50%");
$random_keys=array_rand($a,4);
$random_keys=array_rand($b,2);
echo $a[$random_keys[0]]."<br>";
echo "Prize:";
echo $b[$random_keys[0]]."<br>";
$a[$random_keys[1]]."<br>";
$a[$random_keys[2]];
}
?>
<center>
<form method="post">
<input type="submit" name="submit" value="click">
</form>
</center>