douduocuima61392
douduocuima61392
2013-07-22 08:47

在css灯箱上的Php标题内容

  • css
  • lightbox
  • php


based on this web, i like to use that light box to show image that was generated by this php code :

<?php
include "libchart/classes/libchart.php";

header("Content-type: image/png");

$chart = new VerticalBarChart(700,250);

$dataSet = new XYDataSet();
$dataSet->addPoint(new Point("Bekasi", 873));
$dataSet->addPoint(new Point("Jakarta", 10));
$chart->setDataSet($dataSet);

$chart->setTitle("UTLC testing chart");
$chart->render();
    ?>


my question : can we use php code with header content to generate image in that light box and show it?
thanks anyone and sorry for my bad english.

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答

为你推荐