[!--quoteo(post=360510:date=Apr 1 2006, 05:05 AM:name=earl_dc10)--][div class=\'quotetop\']QUOTE(earl_dc10 @ Apr 1 2006, 05:05 AM) [snapback]360510[/snapback][/div][div class=\'quotemain\'][!--quotec--] try this as a backup plan if nothing else works [code] <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="POST"> //reloads page when submitted <input type="text" name="USD"> <input type="submit" name="sub" value="submit"> </form> <?php $sub = $_POST['sub']; // makes a variable from the Posted Data $USD = $_POST['USD']; $rate = 46; if(isset($sub)) // when submit is pressed, this runs { $INR = $rate*$USD echo "The converted dollar is ".$INR; // if you really wanted to be fancy you could do this: echo $USD." in Rupee is ".$INR; } [/code] [/quote] [b]The output is not coming[/b] Errors Are: //reloads page when submitted Notice: Undefined index: sub in D:\prog\i-d.php on line 7 Notice: Undefined index: USD in D:\prog\i-d.php on line 8 please tell me how to do this program if anyone know