This is my code. When I want to load my localhost its happening something. The syntax problem is: Parse error: syntax error, unexpected '=' in
How to solve it?
<img src="<?php $slide-image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'slider-image' ); echo $slide-image[0]; ?>" alt="<?php the_title();?>" title="<?php the_ID(); ?>"/>