[FX.php List] Can we run scripts on filemaker using FX?
    Chris Hansen 
    chris at iViking.org
       
    Wed Oct 27 12:34:21 MDT 2004
    
    
  
Louie,
Assuming that you're still having problems, could you be more specific 
about what error you're seeing?  Thanks!
--Chris Hansen
   creator of FX.php
   "The best way from FileMaker to the Web."
   www.iViking.org
On Oct 27, 2004, at 12:00 AM, Louie Miranda wrote:
> So guys how do we work on this? i have this but it returns a error 
> response.
> i have a script TimeStamp, that when access put something on a field.
>
> but never worked.
>
>
> //$some_query->AddDBParam("-script", "name_of_the_script");
>
> // connect
> $query = new FX("192.168.10.11", "8080");
> $query -> SetDBData("TempDBF.fp5", "AllFields");
>
> //find
> $query -> AddDBParam("-script", "TimeStamp");
> $query -> AddDBParam('RecordNo', 1);
> $data1 = $query->FMFind();
>
> foreach ($data1['data'] as $key => $value){
> $currentRecord = strtok($key,'.');
> }
>
> //edit
> $query -> AddDBParam('-recid', $currentRecord);
> $query -> AddDBParam('Description', "WALA");
> $data2 = $query->FMEdit();
>
> -- 
> Louie Miranda
> http://www.axishift.com
> _______________________________________________
> 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