<?php
echo '<div>
<h3><a href="#">First</a></h3>
<div>Lorem ipsum dolor sit amet.</div>
</div>
<div>';
?>
Just put it in single quotes.
More Related Contents:
- Date format using dd/mm/yyyy using HTML
- How can I echo HTML in PHP?
- Opening/closing tags & performance?
- How to strip a tag and all of its inner html using the tag’s id?
- PHP POST not working
- Strip all HTML tags, except allowed
- Using PHP to get DOM Element
- How can I echo the whole content of a .html file in PHP?
- php echo vs open&close tag
- Strip HTML tags and its contents
- when i refresh will delete all records
- Calling a function on click of button in HTML/PHP [closed]
- Run php code inside .html() jQuery function
- Ajax Upload image
- How to read if a checkbox is checked in PHP?
- php – insert a variable in an echo string
- HTML Element Array, name=”something[]” or name=”something”?
- Can I echo a variable with single quotes?
- Converting HTML to plain text in PHP for e-mail
- How do I get the HTML code of a web page in PHP?
- HTML – Change\Update page contents without refreshing\reloading the page
- Send PHP HTML mail with attachments
- Get DIV content from external Website
- Easiest way to alternate row colors in PHP/HTML?
- GET vs. POST Best Practices
- How can I convert a docx document to html using php?
- PHP $_POST not working? [duplicate]
- Detecting file upload size on the client side?
- Create table with PHP and populate from MySQL
- jQuery Mobile: Sending data from one page to the another