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

form help
this doesn't work. i want the form action to go the location.href of the submit button chosen.. how

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

Calender Not Opening
The following code is not loading the javascript calender in another window. It's not doing anything

Function
How can I make this function that once you click the link in the code it takes you to a new page wit

why aint this working?
i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rc

Sharing PHP Sessions Across Domains
I am in the process of writing a script to share a php session across various domains I have.
The

Better Method of a Member Cloud
I assume most people know how tag clouds work, where the tags most used are bigger and the least use

Filling gaps in dates
So i'm doing a query for sales data and my return array looks like this

('date' => '20

Calculating a rating by adding number of points and dividing by number of items
I have a site that users can post links to files to download. They can rate these files on a 1-5 sca

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

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