ryanfilard Posted June 11, 2011 Share Posted June 11, 2011 I have this code: <?PHP if (empty($row_Recordset1['lurl'])) echo ($row_Recordset1['lurl']); ?> I need to include text inside of the () Would I do this? <?PHP if (empty($row_Recordset1['lurl'])) echo ('<img src="'$row_Recordset1['lurl']'/>'); ?> Link to comment https://forums.phpfreaks.com/topic/239087-php-inside-echo/ Share on other sites More sharing options...
.josh Posted June 11, 2011 Share Posted June 11, 2011 you can start by reading the manual entry for echo Link to comment https://forums.phpfreaks.com/topic/239087-php-inside-echo/#findComment-1228403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.