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?!?
//Johan the senile
-----Original Message-----
From: _lallous [mailto:[EMAIL PROTECTED]]
Sent: den 6 september 2001 12:44
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Question.
how you mean it/be more specific?
while (list(, $value) = each($array))
{
echo "value = $value\n";
}
"Johan Vikerskog" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
.
> I have done this before but my memory fails me.
>
> I am trying to just loop threw ny array and display it.
> one row per result.
> How do you do that again?
>
> //Johan
--
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]
--
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]