You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

PHP Parse error: syntax error, unexpected '='

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

Previous topic - Next topic


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

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.




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

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