<?php 
 header("Access-Control-Allow-Origin: *");
function connect(){
$dbc = mysqli_connect("localhost", "sshuujin_bowenapp", "80622BOWen") or die('No server');
	mysqli_select_db($dbc, "sshuujin_bowensshub_v2") or die('No db');
	return $dbc;

}



function tet(){
    $dbc = connect();
$query = "SELECT * FROM staffs";
$run = mysqli_query($dbc, $query);
$list = array();
    while($row = mysqli_fetch_row($run)){
        array_push($list, $row[0]);
        echo $row[0];
    }
    return $list;
}




?>