2011/3/23 Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx>: > 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'].")
\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 "
\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