query results in one string
Posted: Wed Nov 06, 2002 5:36 am
can i get the query result in 1 string ?
the $mod must be used in a other file, so i would like to use it as 1 string.
someone who can help me?
Code: Select all
$result = mysql_query("SELECT * FROM frame77");
for($i=0;$i < mysql_numrows($result);$i++){
$mod = "<a href='article.php?". mysql_result($result,$i,'name')."'>itemname</a><br>";
}
echo"$mod";someone who can help me?