Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/main/inc/lib/xajax/examples/multiply/multiply.server.php

16 lines
381 B

<?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();
?>