wddx_packet_start function : wddx_packet_start « Network « PHP






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








Related examples in the same category