Jump to content

echo out with line breaks and paragraphs set


spaceman12

Recommended Posts

hello guys, suppose I want to echo out the text given below exactly as what has been set against, including the line breaks. How do I do it? coz each time i did it so, there s no line breaks but the output is usually a dense lump of words with no paragraphs.

I took her out it was a Friday night
I wore cologne to get the feeling right
We started making out and she took off my pants
But then I turned on the TV

And that's about the time she walked away from me
Nobody likes you when you're 23
I'm still more amused by TV shows
What the hell is ADD?
My friends say I should act my age
What's my age again?
What's my age again?

 

please help

 

 

P.S.

The whole set of phrase give above are treated as a single variable coz I use a WHILE loops when making an echo.

tthanks

$selectSUP="SELECT * FROM member_support WHERE Ticket_ID='$_GET[TID]'";
$locateSUP=mysql_query($selectSUP);
while($fetchSUP=mysql_fetch_array($locateSUP))
{
$status=$fetchSUP['Status'];
    $date=$fetchSUP['Date'];
    $subject=$fetchSUP['Subject'];
    $type=$fetchSUP['Type'];
    $message=$fetchSUP['Message'];
}
echo "Ticket ID"." ".":"." ".$_GET['TID']."</br>";
echo "Status"." ".":"." ".$status."</br>";
echo "Opened On"." ".":"." ".$date."</br>";
echo "Type"." ".":"." ".$type."</br>";
echo "<br></br><br></br>";
echo $message;

 

 

 

$message = "I took her out it was a Friday night

I wore cologne to get the feeling right

We started making out and she took off my pants

But then I turned on the TV

 

And that's about the time she walked away from me

Nobody likes you when you're 23

I'm still more amused by TV shows

What the hell is ADD?

My friends say I should act my age

What's my age again?

What's my age again?"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.