[FX.php List] Finding multiple records from multiple values forsame field

Andrew Denman adenman at tmea.org
Mon May 12 09:44:19 MDT 2008


Bob,

It's in reference to the FM server (I don't think the web server matters in
this case).  Since my FileMaker server is on a Windows box I have to use the
\r\n to separate lines when submitting to the database.  Oddly, when
FileMaker returns the data it's separated just by \n.  I have no idea how it
works from a Mac server so you may have to do a test if you want to find out
what works.

Andrew Denman

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Monday, May 12, 2008 9:42 AM
To: FX.php Discussion List
Subject: Re: [FX.php List] Finding multiple records from multiple values
forsame field

When you say Unix, Windows, or Mac, is that the server, or would that  
pertain to the user? '

Would that same function work for FMFind() as well?

BP



On May 12, 2008, at 9:29 AM, Gjermund Gusland Thorsen wrote:

> Unix
>
> $q->AddDBParam('query', 'TN2891' . "\n" . 'TN3531' . "\n" .  
> 'TN3827' );
> $r = $q->FMNew();
>
> or Windows
>
> $q->AddDBParam('query', 'TN2891' . "\r\n" . 'TN3531' . "\r\n" .  
> 'TN3827' );
> $r = $q->FMNew();
>
> or MacOS Classic
>
> $q->AddDBParam('query', 'TN2891' . "\r" . 'TN3531' . "\r" .  
> 'TN3827' );
> $r = $q->FMNew();

_______________________________________________
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