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

PHP Login
Hey!
I got this shopcart code online, am trying to modify it but am getting an error when i try a

Finding digits in variable containing text, and IDing them
$romanstock = "http://www.remoteprice.com/data.asp?storeid=123&itemcode=456&typ

how to export excel file in same server
My first post - php newbie, so appreciate your support.

I'm currently using headers to save w

PHP Redirecting
Hello everyone. Is there a way to redirect people to pages within a statement in PHP? Since there is

recrawling
Can anyone suggest me how may i know a page is updated before it is being downloaded, so that i can

How to show a complete textarea ??
I enter Client Case Notes notes in a textarea field on a PHP form. The field is 5 rows deep and 70 c

User information
Hi All,
By using t-code SUIM we get all the user details,if suppose we donot have permission t

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

Using insert variable
need a way to inert variable data to mysql database

$acc = "212121212";
$nok =

PHP error (line 38) my website
Hello everyone, I'm new on this
and I got a web site thats got a error not showing the photos on<

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