superkore Posted July 11, 2008 Share Posted July 11, 2008 This is coming from a mysql db. how would i make it echo into an <h1> or <p> tag. I'm sure this is really simple and stupid. Thanks in advance. echo $myrow['text1']; Link to comment https://forums.phpfreaks.com/topic/114328-solved-html-tags-with-php-help/ Share on other sites More sharing options...
discomatt Posted July 11, 2008 Share Posted July 11, 2008 echo '<h1>' . $myrow['text1'] . '</h1>'; or echo "<h1>{$myrow['text1']}</h1>"; Link to comment https://forums.phpfreaks.com/topic/114328-solved-html-tags-with-php-help/#findComment-587909 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.