Hi, Just a simple question. [code] $sql = mysql_query("SELECT * FROM dt_directories WHERE category = '$category'") or die(mysql_error()); while ( $dirs = mysql_fetch_array($sql) ) { $name = $dirs['name']; echo "$name, "; }[/code] This echos out the names of directories which are from the category stored in the variable $category like this (category is "general"): Dmoz, Yahoo, Best of the Web, and so on... What I want to do is, rather then echo it, is to store them in a variable with the formatting like in the example. TIA