2011/3/23 Jim Giner <jim.gi...@albanyhandball.com>:
> ok - here's the code in question.
> $q = 'select * from director_records ';
> $qrslt = mysql_query($q);
> $rows = mysql_num_rows($qrslt);
> for ($i=0; $i<$rows; $i++)
>    {
>    $j = $i+1;
>    $row = mysql_fetch_array($qrslt);
>    echo $j.'-'.$row['userid'];
>    if ($row['user_priv']<> "")

try >        echo ' ('.$row['user_priv'].")&#13&#10\r\n"; //If you
don't put \r\n or a space at the end of the echo then the beginning on
the next line is going to be interpreted as #101/#102/#103 aso (that i
figured when you wrote that putting a space in the beginning of the
echo solved the problem.

>    else

        echo "&#13&#10\r\n";

>    }



-- 


**********************************************
 Hans Åhlin
   Tel: +46761488019
   icq: 275232967
   http://www.kronan-net.com/
   irc://irc.freenode.net:6667 - TheCoin
**********************************************

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to