My database name is vantibot, my table name is vantibot and in index.php,conn.php,database.sql I have everywhere vantibot instead of vAntibot, still the problem is persisting. Also the id is 1 too
EDIT: I fixed the problem, it's a bug in your code.
$totalpeople = count($famouspeople);
$randomp1 = random_int(0, $totalpeople);
$randomp2 = random_int(0, $totalpeople);
$randomp3 = random_int(0, $totalpeople);
$randomp4 = random_int(0, $totalpeople);
$pp = array($famouspeople[$randomp1],$famouspeople[$randomp2],$famouspeople[$randomp3],$famouspeople[$randomp4]);
random_int returns an int between 0 and $totalpeople(included) if randomp1 returns $totalpeople, $famouspeople[$totalpeople] doesn't exist it's a segmentation fault since arrays start at 0. To fix it I added a -1 so it becomes like this:
$totalpeople = count($famouspeople);
$randomp1 = random_int(0, $totalpeople-1);
$randomp2 = random_int(0, $totalpeople-1);
$randomp3 = random_int(0, $totalpeople-1);
$randomp4 = random_int(0, $totalpeople-1);
$pp = array($famouspeople[$randomp1],$famouspeople[$randomp2],$famouspeople[$randomp3],$famouspeople[$randomp4]);
It fixed the problem