You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
366 B
16 lines
366 B
![]()
19 years ago
|
<?php
|
||
|
// multiply.php, multiply.common.php, multiply.server.php
|
||
|
// demonstrate a very basic xajax implementation
|
||
|
// using xajax version 0.2
|
||
|
// http://xajaxproject.org
|
||
|
|
||
|
function multiply($x, $y)
|
||
|
{
|
||
|
$objResponse = new xajaxResponse();
|
||
|
$objResponse->addAssign("z", "value", $x*$y);
|
||
|
return $objResponse;
|
||
|
}
|
||
|
|
||
|
require("multiply.common.php");
|
||
|
$xajax->processRequests();
|
||
|
?>
|