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

Beginners syntax and loop questions - help please!
Hi everyone,

I have some problems with php code. I'm currently in the middle of learning php,

Lining up columns nicely.
Hello everyone, I'm having problems with making columns line up properly. Here is my code:

Simple MySQL script is not working
Hey guys,

Just familiarizing myself with PHP and MySQL. I am following along in the O'Reilly

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

array_count_values question?
ok i'm trying to create a top ten list from a database of listed favorite movies.

the followi

foreach result into a single variable
Hi,

I have this code...

Code: [Select]foreach ($_POST['Interests'] as $interest =&

Help with ORDER BY
Hello. I would like to order by ascending States, then Cities, then Gyms in the following code, but

Help with php code
Hello, can anyone tell me why this php word trap fails to work,
and the trigger words get blow r

Read from forum
Haven't written anything forever and I would like to get back.
What I'm trying to do is getting t

file_put_contents and createimagefromjpeg
All,
I do somethings and then I have the following code:
file_put_contents('./test/'.$filename

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