[FX.php List] Help With Syntax

Dale Bengston dbengston at preservationstudio.com
Fri Feb 2 15:17:21 MST 2007


Hi Gary,

Try print_r($ReturnedData) instead of echo $ReturnedData.

Dale



On Feb 2, 2007, at 4:05 PM, Gary Henderson wrote:

> I added that and it still doesn’t work.  Displays “Object”
>
>
>
>
>
> http://o-d.com/FX/odtest.php
>
>
>
> <?php
>
>
>
> require("FX.php");
>
>
>
> $serverIPAddress = '66.153.148.215';
>
> $currentDatabase = 'od';
>
> $InstanceName = new FX($serverIPAddress, "591");
>
> $InstanceName->SetDBData($currentDatabase, "od");
>
> $InstanceName->SetDBPassword("odsports","Admin");
>
> $InstanceName->AddDBParam('od', "od", 'eq');
>
> $ReturnedData = $InstanceName->FMFind();
>
> echo $ReturnedData
>
> ?>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Gary Henderson
> Director of Business Development
>
> Offense-Defense Sports
> 309 Bush Drive
> Myrtle Beach, SC 29579-7315
>
> garyh at o-d.com
> http://www.o-d.com
> AIM: gary2484
>
> tel:
> fax:
> mobile:
>
> 843-903-1888 ext 19
> <image001.gif>
>
> 843-903-2749
> 843-267-8405
> <image001.gif>
>
>
>
>
>
>
>
> Add me to your address book...
>
> Want a signature like this?
>
>
>
>
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list- 
> bounces at mail.iviking.org] On Behalf Of Andy Gaunt
> Sent: Friday, February 02, 2007 4:57 PM
> To: 'FX.php Discussion List'
> Subject: RE: [FX.php List] Help With Syntax
>
>
>
> Gary,
>
>
>
> You are missing part of the query. You need to add the SetDBPassword
>
>
>
> $query = new FX ($serverIP, $webCompanionPort);
>
> $query -> SetDBData($webDB,$searchLayout,);
>
> $query -> SetDBPassword($webPW,$webUN);
>
> // Rest of query goes here
>
>
>
>
>
>
>
>
>
> Andy Gaunt
>
> Office: 321.206.3658
>
> Mobile: 407.810.4722
>
> andy at fmpug.com
>
> http://www.fmpug.com
>
>
>
> 2006 FileMaker Excellence Award Winner
>
> Recipient of FileMaker’s 2005 “Mad Dog” Public Relations Award
>
>
>
> For chapter locations, dates & times please visit the website at  
> http://www.fmpug.com If you can make it to a meeting, please RSVP  
> at http://www.fmpug.com/rsvp.php
>
>
>
> From: fx.php_list-bounces at mail.iviking.org [mailto:fx.php_list- 
> bounces at mail.iviking.org] On Behalf Of Gary Henderson
> Sent: Friday, February 02, 2007 4:35 PM
> To: fx.php_list at mail.iviking.org
> Subject: [FX.php List] Help With Syntax
>
>
>
> <?php
>
>
>
> require("FX.php");
>
>
>
> $serverIPAddress = '66.153.148.215';
>
> $currentDatabase = 'od';
>
> $InstanceName = new FX($serverIPAddress, "591");
>
> $InstanceName->SetDBData($currentDatabase, "od");
>
> $InstanceName->AddDBParam('od', "od", 'eq');
>
> $ReturnedData = $InstanceName->FMFind();
>
> echo $ReturnedData
>
> ?>
>
>
>
>
>
>
>
> What is wrong here?
>
>
>
>
>
>
>
>
> Gary Henderson
> Director of Business Development
>
> Offense-Defense Sports
> 309 Bush Drive
> Myrtle Beach, SC 29579-7315
>
> garyh at o-d.com
> http://www.o-d.com
> AIM: gary2484
>
> tel:
> fax:
> mobile:
>
> 843-903-1888 ext 19
> <image001.gif>
>
> 843-903-2749
> 843-267-8405
> <image001.gif>
>
>
>
>
>
>
>
> Add me to your address book...
>
> Want a signature like this?
>
>
>
>
> <image001.gif>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070202/9546840b/attachment-0001.html


More information about the FX.php_List mailing list