I am trying to pass two variables to another page by appending them to the query string:
while ($myrow=mysql_fetch_array($result))
{
printf("<tr bgcolor=%s>
<td><a href=bandpage.html?bandid=$myrow[0]&name=$myrow[1]>%s</a></td><td>%s</td>... etc.
myrow[0] is fine b/c its a number, the band id. but if the band name has spaces in it, I only get the first word
is there a function for this? I tried "&name= print ($myrow[1])", but its tricky b/c its already nested inside a printf statement