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']'/>'); ?> Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/239087-php-inside-echo/#findComment-1228403 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.