Hi Jen, can i call like that ?
i've read your script as follow:
echo '<a href="showprod.php?r0='.$p0.'&r1='.$p1.'&r2='.$p2.'&r3='.$p3.'&r4='.$p4.'&r5='.$p5.'&r6='.$p6.'&r7='.$p7.'&r8='.$p8.'&r9='.$p9.'">';
it's ok when you use the syntax like that and you should'nt have to use urlencode(), but there are some thing wrong in your typing way using quote mark. please read mine,ok?
echo "<a href='showprod.php?r0='.$p0.'&r1='.$p1.'&r2='.$p2.'&r3='.$p3.'&r4='.$p4.'
&r5='.$p5.'&r6='.$p6.'&r7='.$p7.'&r8='.$p8.'&r9='.$p9.'>";
hope you like it, i urge you to read the php manual book, you'll find it all, you can find it at www.php.net and download it freely
send me mail if you have any doubt while i search for another solution for my breaking head problem, bye