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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -