Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $text1 = "text1";
- $text2 = "text2";
- $text3 = "text3";
- echo "
- <table>
- <tr>
- <td>$text1</td>
- <td>$text2</td>
- <td>$text3</td>
- </tr>
- </table>
- <div class='sample' id='sample'>Sample with class and id</div>
- <div style='background:red; border:1px solid #000000;'>Sample with css</div>
- ";
- ?>
- or
- <?php
- $text1 = "text1";
- $text2 = "text2";
- $text3 = "text3";
- $html_content = "
- <table>
- <tr>
- <td>$text1</td>
- <td>$text2</td>
- <td>$text3</td>
- </tr>
- </table>
- <div class='sample' id='sample'>Sample with class and id</div>
- <div style='background:red; border:1px solid #000000;'>Sample with css</div>
- ";
- echo $html_content;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement