I'm storing the result of sql in a variable :
$Sql_Query = "select * from users where username = '$username' ";
$check = mysqli_fetch_array(mysqli_query($con,$Sql_Query));
$temp=$check['fierbase_id'];
then I want to pass the variable to Jason Array, am I doing it right?
$registrationIds = array( '$temp' );