i add content automatically content with this code on each posts on my wordpress:
function insertFootNote($content){
if(!is_feed() && !is_home()) {
$content.= "<div class='FollowMe'>";
$content.= "<h4>Enjoyed this article?</h4>";
$content.= "<p>Follow me .</p>";
$content.= "</div>";}
return $content;}
add_filter ('the_content', 'insertFootNote');
This works fine but now when i try to insert some images:
$content.= "<p> style="text-align: center;"><a href="http://www.especie.info/submit/"><img class="alignnone size-medium wp-image-744" src="http://www.especie.info/wp-content/uploads/2015/09/imgpsh_fullsize-236x300.png" alt="imgpsh_fullsize" width="236" height="300" /></a> <a href="http://www.especie.info/wp-content/uploads/2015/09/imgpsh_fullsize-2.png"><img class="alignnone size-medium wp-image-743" src="http://www.especie.info/wp-content/uploads/2015/09/imgpsh_fullsize-2-236x300.png" alt="imgpsh_fullsize-2" width="236" height="300" /></a></p>";
I get this error: Parse error: syntax error, unexpected 'text' (T_STRING).
Thanks for all your help.