[FX.php List] Value list error testing

Joel Shapiro jsfmp at earthlink.net
Thu May 8 18:14:51 MDT 2008


Hey Bob

Can you just test for:
   isset($vlResult['valueLists']['bogus_list_name'])
?

-Joel


On May 8, 2008, at 5:08 PM, Bob Patin wrote:

> Is there a way in PHP to test whether a value list exists, or to  
> trap an error?
>
> In other words, if I were to do this:
>
> foreach($vlResult['valueLists']['bogus_list_name'] as $key=>$value) {
>
> ...
>
> }
>
> is there a way for me to first determine whether that list name  
> actually exists?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
>
>   CONTACT US VIA INSTANT MESSAGING:
>      AIM or iChat: longterm1954
>      Yahoo: longterm_solutions
>      MSN: tech at longtermsolutions.com
>      ICQ: 159333060
>
> --------------------------
> Contact us for FileMaker hosting and programming for all versions  
> of FileMaker
> PHP • CDML • Full email services • Free DNS hosting • Colocation •  
> Consulting
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list