On Tue, 27 Jul 2004 15:36:13 +0200, Gianni Pirini <[EMAIL PROTECTED]> wrote: > Hello !! > First of all, sorry for my english... > I've one question, what is a reasonable max number of case block in a switch > steatment? > If i want to redirect 300 pages, for example, to one page index.php?id=32 > and include in this page, in base of the id value, 300 different pages, i > can have some problem or not ? >
Sorry, I have no idea what you're asking. Are you saying you want a switch with 300 case statements, all redirecting to one page? That doesn't make sense. If you mean a switch with 300 different cases, yes you can do it....but you should really switch to maybe a DB backend as 300 case statements would be very hard to maintain. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php