Hulf wrote: > Hi, > > switch ($q) { > > for ($i=0; $i <21; $i++) { > case 'faq$i': > echo $faq1; > break; > } > } > > > I just want to loop out a big long list of cases. You should look up "self-modifying code" - maybe in wikipedia. /Per Jessen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php