:if(isset($_REQUEST["convert"]))
  {
   $Registration_num=$_REQUEST['reg_num'];
   echo decbin($Registration_num);
  }

i want to insert the binary number into the text feild which is the output of the decimal number....it is getting echoe but want that num in another textfeild to display so that ican use it in other forms

your question is not clear.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.