PHP/Network/wddx packet start
Версия от 10:37, 26 мая 2010; (обсуждение)
wddx_packet_start function
<?php
$months = array ("January", "February", "Marts", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
$sales = array (10, 12, 15, 19, 30, 45, 12, 50, 20, 34, 55, 70 );
$pid = wddx_packet_start ( "report" );
wddx_add_vars ( $pid, "months" );
wddx_add_vars ( $pid, "sales" );
echo wddx_packet_end ( $pid );
?>