while döngüsü içine
echo "<input type ="hidden" value=".$dizi[0]." name="ad" />
ekle ve post ettiğin yerde
$ad = $_POST["ad"] yapman yeterlidir.