How best to translate data through the page

What is the best way to translate data across the page?

1) Through sessions and hidden fields

  $_SESSION['name_teacher'] = $_POST['name_teacher'];
   <input type="hidden" name="$id_school" value="<?php echo $_SESSION['name_teacher'] ; ?>" />

2) Through hidden fields and POST requests

   $name_teacher = $_POST['name_teacher'];
     <input type="hidden" name="$id_school" value="<?php echo $id_school; ?>" />

3) Or just through sessions and without hidden fields?

Answer 1

You already decide through what, everything is transmitted here and there through hidden fields.
either like this

$_SESSION['name_teacher'] = $_POST['name_teacher'];

either like this

<input type="hidden" name="$id_school" value="<?=$_POST['id_school'];?>" />

Answer 2

Through sessions and hidden fields

Why extra gestures? SESSION = POST, input hidden value = SESSION?

Easier input hidden value = POST