while ($row = mysqli_fetch_array($result))
That should work.
Other things to note.
Since you only need the column "status" in your query, it is best to only select that column, so your query should be
$query = "SELECT status FROM status";
Also, where you insert data into the database, you should filter or escape the content to prevent SQL Injection
So, you should do something like
$status = htmlentities( $_POST['data', ENT_QUOTES );
and use prepared statements or ..
$query = sprintf( "INSERT INTO status ( status ) VALUES ( %s )", mysql_real_escape_string( $status ) );