Unsure how to get this string to work correctly. Keeps making my page blank.
$imagefile = "http://mysite.ca/uploads/pages/large/$flyer['flyer_id']/$page['large_image']";
$imagedata = getimagesize($imagefile);
$imagewidth = $imagedata[0];
$imageheight = $imagedata[1];
I think it has something to do with both variables mixed in with regular text.
Do not embed the variables in your string:
or wrap them in
{}:or remove the quotes around the array key (it is perfectly allowed inside a double-quoted string):