...

View Full Version : Embeding PHP inside a HTML attribute



Democrazy
09-16-2011, 06:49 AM
How can this be written in PHP?


echo '<IMG alt="" src=".$row['id']/thumb.png">';

Democrazy
09-16-2011, 07:10 AM
Never mind.

echo '<IMG alt="" src="'.$row['id'].'/thumb.png">';



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum