Use $FromTransNo in preference to $_GET['FromTransNo']