Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/260.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在Perfex CRM上显示没有表的items表时出现问题_Php_Html - Fatal编程技术网

Php 在Perfex CRM上显示没有表的items表时出现问题

Php 在Perfex CRM上显示没有表的items表时出现问题,php,html,Php,Html,我正在设置以PDF格式自定义显示提案项 从我的代码中,我看到它仍在显示表 $items = get_items_table_data($proposal, 'proposal', 'pdf') ->set_headings('estimate'); $items_html = $items->table(); $items_html .= '<br /><br />'; $proposal->content = str_replace('

我正在设置以PDF格式自定义显示提案项

从我的代码中,我看到它仍在显示表

$items = get_items_table_data($proposal, 'proposal', 'pdf')
        ->set_headings('estimate');
$items_html = $items->table();
$items_html .= '<br /><br />';
$proposal->content = str_replace('{proposal_items}', $items_html, $proposal->content);

$html = <<<EOF
<div style="width:675px !important;">
$proposal->content
</div>
EOF;
$items=get\u items\u table\u数据($proposal,'proposal','pdf'))
->设置标题(“估算”);
$items_html=$items->table();
$items_html.='

'; $PROPOSITION->content=str_replace(“{PROPOSITION\u items},$items\u html,$PROPOSITION->content); $html=