php - What's wrong with this img src and a href code? -
php - What's wrong with this img src and a href code? -
what's wrong :
echo '<a href="https://www.facebook.com/pages/haddad-guest-house/193701947328195" target="_blank">'<img src="http://imgit.me/i/6g0r4d9.png"></a>';
you have single quote between <a>
, <img>
node should remove. seek this:
echo '<a href="https://www.facebook.com/pages/haddad-guest-house/193701947328195" target="_blank"><img src="http://imgit.me/i/6g0r4d9.png"></a>';
php html
Comments
Post a Comment