Echo multiple lines of html code


Posted on 16th Feb 2014 07:03 pm by admin

Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

I intend to echo a form if a variable is set and nothing if it is not set. And right now, I echo each line of html code, which works well but is a lot to do for such a thing. I am pretty sure there should be a better way to do it but I can't find how...

Any thoughts?

115 Like 32 Dislike
Previous php-forum Next php-forum
Other php-forum

Upload, SSL and more php help
I recently just installed a ssl cert and do i use https for the whole site or just for the checkout.

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

Internal Server Error issues
This has been bothering me for weeks and I've been trying to solve it without asking for help, but e

gather checkbox data from form into email
Hello all,

First, i'd like to thank everyone who responded to my previous posts regarding set

xml
<?php

echo "<h1>XML Articles</h1>";

$home

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

help retrieiving results and doing pagination
Having some trouble trying to get the results to show on more than just one page.

What is ha

Need help in Generating Combinations
Need help generating all possible combination of names in an array

Lets say i have the follow

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash