php <<< 用法

<?php

$render_chart = <<<RENDERCHART

 <!– START Script Block for Chart $chartId –>
 <div id=”$chartIdDiv” align=”center”>
  Chart.
 </div>
 <script type=”text/javascript”> 
  //Instantiate the Chart 
  var chart_$chartId = new FusionCharts(“$chartSWF”, “$chartId”, “$chartWidth”, “$chartHeight”, “$ndebugMode”, “$nregisterWithJS”);
  $tempData
  //Finally, render the chart.
  chart_$chartId.render(“$chartIdDiv”);
 </script> 
 <!– END Script Block for Chart $chartId –>
RENDERCHART;

  return $render_chart;

?>

留下评论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

− 1 = 1