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

unoconv doc convert to pdf code prob
PHP/5.3.1

Hi. I am trying to use this code to convert docs to .pdf utilizing unoconv. Howe

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

php ajax - two drop down list with a submit button
i have created a form with 2 drop-down list and a submit button. I would like to know how to pass th

SESSION question
I am building an application , a directory for auctions.
For SEO i made a script which copies a p

Can you help please? Php file
I have to write this php file to allow users to register their nicknames on nickserv

For an I

regex for quoted text within a string
I am still getting the hang of regex expressions, but I cant seem to figure out how I would escape q

Multiple arrays inside data
Hi,

Simple question. I have a column called "array" in my database, and inserted in

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

keeps going back to index.html ???????
ok so i started making my site using mostly.html files now i have added a fair chunk of php. My inde

database design
Hi,

I got a page which allow candidate to type in their previous working experience,
I let

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