<?php $num[0]=10000; $num[1]=1000; $procent=$num[0]/100; $result=$num[1]/$procent; echo"$result%"; ?>