这个问题出在哪里??
if (! $dsql->ExecuteNoneQuery ( $inQuery )) {
ShowMsg ( 'Database error!', '-1' );
exit ();
}
$mid = $dsql->GetOne ( "SELECT * FROM `#@__im_order` WHERE email = '$email' ORDER BY order_id desc" )["order_id"];
$OrdId = $mid;
------解决思路----------------------
你的 php 版本低于 5.4
改为
$mid = $dsql->GetOne ( "SELECT * FROM `#@__im_order` WHERE email = '$email' ORDER BY order_id desc" );
$OrdId = $mid["order_id"];