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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

parse error
Parse error: syntax error, unexpected '[', expecting ')' in /Users/admin/Sites/phptest/array.php on

opening a window with after form submission
I know this this forum has nothing to do with JS, but i'm trying to use it with my php script.
<

how to load php class from another domain?
how to load php class from another domain?

Limiting uploaded file type
I am working on a simple upload script, and I need it to limit the allowed file type that is uploade

passing an array of objects after submit
How do I do this? This is what I have tried and it is not working.

<form method="

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

trouble printing an array....
I'm having some trouble printing out an array forwards. I'm figuring out the high and low of an arra

Mail sending is slow on server
Why mail is taking time to be send on apache-linux server

Spliting paragraph into sentences and attach in
Here is what I am trying to do

example: Para1[123.456.789!] 3 sentences
Para2

Undefined index: username HELP NEWBIE
I am trying a simple login/logout for my website. It works well with checking if the username exists

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