不確定如何讓該字符串正常工作。讓我的頁面留空。需要字符串中的多個變量
$imagefile = "http://mysite.ca/uploads/pages/large/$flyer['flyer_id']/$page['large_image']";
$imagedata = getimagesize($imagefile);
$imagewidth = $imagedata[0];
$imageheight = $imagedata[1];
我認爲它與兩個變量混合使用常規文本有關。
輸出示例將 http://mysite.ca/uploads/pages/large/83/best-buy-flyer-mar-23-to-291.jpg – 2012-03-29 06:32:55