On Thu, 2006-03-23 at 02:06 +0000, Mark Mckee wrote:
> 
> > 
> > As for your forty tables that can possibly be selected, might I
> > suggest a switch statement?
> > 
> > 
> > 
> 
> how wouldl i go about creating a switch statement? i have looked at a 
> few tutorials but am finding it difficult to convert the script for my
> uses.
> 

switch ($listboxoptionchosen)
{
   case "Option1":
      //statements go here for Option1
      break;
   case "Option2":
     //statements go here for Option2
     break;
    .
    .
    .
    //etc, etc
}



Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to