我问的问题非常相似,并且已经提出了问题。但它对我有用。 ViewReportsController.php class ViewReportsController extends AppController {
public function index() {
$count_table = 10;//sample variable that is available in view
$th
我打印PDF时使用CakePHP和DomPDF打印PDF时出现问题,我很快想从数据库中获取一些数据。没有提取数据,它就像一个魅力。我的功能如下: public function tourpdf($tourid = null){
$contain = ['Deliveries','Deliveries.Articletransactions','Deliveries.Orders','D