Re: CAN YOU COVERT THIS CODE TO PHP ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes. 

but not right now, my mind is focused on other issues. 

I am sure someone on this list can help you, if properly motivated. 

Marc A. Hill  Software Engineer Medisynergi http://medisynergi.proboards92.com/index.cgihttp://www.theacademi.org

--- On Thu, 7/23/09, Ella Mae Luyun <ellamae.luyun@xxxxxxxxx> wrote:

From: Ella Mae Luyun <ellamae.luyun@xxxxxxxxx>
Subject:  CAN YOU COVERT THIS CODE TO PHP ???
To: php-objects@xxxxxxxxxxxxxxx
Date: Thursday, July 23, 2009, 1:04 AM






 




    
                  <HTML>

<Head> <CENTER>MATHEMATICA L OPERATION </HEAD>

<body>

<SCRIPT><!--

function go(){

document.number. num1.value = ("0");

document.number2. numb4.value = ("");

}

var numb1 = document.number. num1.value;

var numb2 = document.number. num2.value;

function add(){

document.getElement ById("num4" ).innerHTML = parseInt(document. number.num1. value) + parseInt(document. number.num2. value);

}

function mult(){

document.getElement ById("num4" ).innerHTML= (document.number. num1.value * document.number. num2.value) ;

}

function sub(){

document.getElement ById("num4" ).innerHTML = (document.number. num1.value - document.number. num2.value) ;

}

</SCRIPT>

<FORM NAME="number" >

Number 1<INPUT TYPE="text" Value="" NAME="num1">

<BR>

Number 2<INPUT TYPE="text" Value="" NAME="num2">

</FORM>

<FORM NAME="number2" >

RESULT :

<br><label id="num4"></ label>

</FORM>

</HEAD>

<body>

<FORM NAME="MyForm" >

<INPUT TYPE="button" NAME="none" Value=" ADD " OnClick="add( )">

<INPUT TYPE="button" NAME="none5" Value=" SUBTRACT " OnClick="sub( )">

<INPUT TYPE="button" NAME="none3" Value=" MULTIPLY " OnClick="mult( )">

</FORM>

</body>



[Non-text portions of this message have been removed]




 

      

    
    
	
	 
	
	








	


	
	


      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux