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

Lack of simpleXML Documentation
What is up with this.

Look at: http://www.php.net/manual/en/function.simplexml-load-file.php<

Cron Job and Output
I have php codes running under a cron job.
But everytime i output (echo) , it comes out as comple

captcha error
I have been trying to implement a captcha in php...

here is the code..
Code: (php) [Select

Passing Arguments to execlp()
I'm writing a program that mimics a unix shell. It's supposed to take commands with arguments and ex

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

Join Query Help
Hi all,

I am having problems with the below code, which we shall call 'my first join query'!

Load Animated Image while cache is serve
I have a page that loads up using cache and took about 1 to 2 minutes before it loads to the page. <

Help! refer to a friend script with captcha code
Hi guys, I am posting on here in desperate need for some help with an ongoing search I have been doi

Replacing a string on click of a button
Hi! Is there a way to replace a string on a click of a text link?

This is what I've come up w

j1inmis Ouput layout changes
Hi,

Can anybody tell how can j1inmis output layout can be changed so that vendor names ge

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