[FX.php List] Help With Syntax

DC dan.cynosure at dbmscan.com
Fri Feb 2 15:10:56 MST 2007


it's probably an error object. try print_r instead of echo. also try 
echoing <pre> tags before and after the print_r to see it nice and neat.

looks like your file is named od? shouldn't youhave a .fp7 or .fp5 after 
that?

dan

Gary Henderson had written:
> 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
> 
> ?>
> 
>  
> 
>  
> 
>  
> 
>  
> 
> <http://www.all-americanbowl.com>
> 
> 	
> 
> <http://www.all-americanbowl.com>
> 
> 	
> 
>  
> 
> *Gary Henderson*
> /Director of Business Development/
> 
> 	
> 
> *Offense-Defense Sports*
> 309 Bush Drive
> Myrtle Beach, SC 29579-7315 
> <http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=309+Bush+Drive&csz=Myrtle+Beach%2C+SC++29579-7315&country=us> 
> 
> 
> garyh at o-d.com <mailto:garyh at o-d.com>
> http://www.o-d.com
> AIM: gary2484
> 
> 	
> 
> tel:
> fax:
> mobile:
> 
> 	
> 
> 843-903-1888 ext 19 
> <http://www.plaxo.com/click_to_call?src=jj_signature&To=843-903-1888++ext+19&Email=ghenderson@customb.com>
> 843-903-2749
> 843-267-8405 
> <http://www.plaxo.com/click_to_call?src=jj_signature&To=843-267-8405&Email=ghenderson@customb.com>
> 
> 	
> 
>  
> 
> /Add me to your address book.../ 
> <https://www.plaxo.com/add_me?u=78999&v0=155587&k0=362296176>
> 
> 	
> 
> /Want a signature like this?/ <http://www.plaxo.com/signature>
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *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?
> 
>  
> 
> <http://www.all-americanbowl.com>
> 
> 	
> 
> <http://www.all-americanbowl.com>
> 
> 	
> 
>  
> 
> *Gary Henderson*
> /Director of Business Development/
> 
> 	
> 
> *Offense-Defense Sports*
> 309 Bush Drive
> Myrtle Beach, SC 29579-7315 
> <http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=309+Bush+Drive&csz=Myrtle+Beach%2C+SC++29579-7315&country=us> 
> 
> 
> garyh at o-d.com <mailto:garyh at o-d.com>
> http://www.o-d.com
> AIM: gary2484
> 
> 	
> 
> tel:
> fax:
> mobile:
> 
> 	
> 
> 843-903-1888 ext 19 
> <http://www.plaxo.com/click_to_call?src=jj_signature&To=843-903-1888++ext+19&Email=ghenderson@customb.com>
> 843-903-2749
> 843-267-8405 
> <http://www.plaxo.com/click_to_call?src=jj_signature&To=843-267-8405&Email=ghenderson@customb.com>
> 
> 	
> 
>  
> 
> /Add me to your address book.../ 
> <https://www.plaxo.com/add_me?u=78999&v0=155587&k0=362296176>
> 
> 	
> 
> /Want a signature like this?/ <http://www.plaxo.com/signature>
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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