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?

No comments posted yet

Your Answer:

Login to answer
115 Like 32 Dislike
Previous forums Next forums
Other forums

A Few Questions
Hi, I want to ask a few questions that I can't seem to find..

1) I'm creating a "shortcu

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

Help With editting and deleting form
Hallo !!

So look at this image :

http://img194.imageshack.us/img194/8272/snapshot5f.pn

Create PHP table grid help, please
I have a MySQL database setup, now it's time for the table (gridview) design in php. Here's the prob

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

How To Make More Than One Redirection with PHP on the same page?
Hey im trying to do a direction page where it open differently link direction pages every time som

$action = "insert"; //$action = $_GET['action'];
$action = "insert";
//$action = $_GET['action'];

why is this invalid type? I am

exclude characters from counting?
Hello, I wanted to ask if you have a string like:
Code: $my_s='ASRGREGTGTR----REGREGRE+++RRRRRR..

foreach loop, assistance request
I would like some guidance on the usage of foreach as I try to parse through a large database and wh

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

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