Embed html inside php tags
-
Was wondering if someone with better php skills could help me find a solution to placing text in front of my form fields. Here is the code in my header.php:
<div class=”right-header clearfix”><h6 class=”formidable”>Sign Up For Our Newsletter!</h6><?php echo FrmFormsController::get_form_shortcode( array( ‘id’ => 2, ‘title’ => false, ‘description’ => false ) ); ?>
</div>When viewed in the browser the h6 text appears above the subscription form and I would like it to be inline with it and in front of it. Am I on the right track thinking that it should be included inside the php? I’ve tried using css to make it inline and in front but nothing I try there will work. I can’t provide a url because it is on my local server but here is a screenshot of what I am talking about.
<a href="https://www.vanislebc.com/images/screenhunter/ScreenHunter_01 Oct. 18 12.57.gif"></a>
Shouldn’t the link to the screenshot automatically embed the image into this post?
- The topic ‘Embed html inside php tags’ is closed to new replies.