PHP Parse error: syntax error, unexpected '='

Started by Twister1611, August 28, 2015, 06:16:58 AM

Previous topic - Next topic

Twister1611

Just got an error from this line. I don't know how to fix it. Did I lack something in this code?

<img src="<?php echo frontline_get_image(w=700&amp;h=388&amp); ?>" alt="" />

Studio 42

Hi,
The line can be correct, but the function can be missing.
YOu need to include the file having the function frontline_get_image(
The second problem, is that you don't have brakets on the call
<img src="<?php echo frontline_get_image(w=700&amp;h=388&amp); ?>" alt="" />
should be :
<img src="<?php echo frontline_get_image("w=700&amp;h=388&amp"); ?>" alt="" />
But i don't know your function arguments, i cannot help your more on this.

Greetings,
Patrick
Free XML sitemap generator [url="http://shop.st42.fr/en/catalog/products/virtuemart-2-sitemap.htm"]http://shop.st42.fr/en/catalog/products/virtuemart-2-sitemap.htm[/url]  , Free Unused Image cleaner [url="http://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm"]http://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm[/url]
Language Switch in product & category [url="http://shop.st42.fr/en/categories-tools/multi-language-for-virtuemart.htm"]http://shop.st42.fr/en/categories-tools/multi-language-for-virtuemart.htm[/url]
More extentions [url="http://shop.st42.fr/en/"]http://shop.st42.fr/en/[/url]

Twister1611

Patrick,

A billion thanks man you truly saved me!!!
You just nailed it man.

Thank you for your great help. God Bless you more...