So echo a <br> as well.

echo $os. "<br>"; //this will do the trick

Cheers
Jon


-----Original Message-----
From: Johan Vikerskog (EMP) [mailto:[EMAIL PROTECTED]]
Sent: 06 September 2001 12:24
To: '_lallous'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Question.


ok i have this:
<?php
include "../config.php";

$result = mysql_query("SELECT os from sdb_entries");

while($row=mysql_fetch_array($result))

{
$os = $row["os"];
echo $os;
}

?>

Now i want the echo to make a new line instead of putting everything into
one large chunk.
Help?!?


**********************************************************************
'The information included in this Email is of a confidential nature and is 
intended only for the addressee. If you are not the intended addressee, 
any disclosure, copying or distribution by you is prohibited and may be 
unlawful. Disclosure to any party other than the addressee, whether 
inadvertent or otherwise is not intended to waive privilege or confidentiality'

**********************************************************************

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to