[FX.php List] XP: YIKES ...
VanBuskirk, Patricia
pvanbuskirk at otc.fsu.edu
Wed Nov 4 14:01:43 MST 2009
If php were turned off, I would assume the drop-down lists would not
show that pull their values from FMP:
<select name="Contact_Bldg" tabindex="5">
<option selected>NOT LISTED - Type in Below</option>
<?php
define('DEBUG', true);
require_once('FX.php');
require_once('server_data.php');
// configure a connection to FileMaker Server Advanced
$ordersQuery = new FX(FM_IP, FM_PORT, FM_VERSION);
// set database and layout information
$ordersQuery->SetDBData('WEB_Forms', 'Ref_FSU_Buildings', 'all');
// set database username and password
$ordersQuery->SetDBUserPass(FM_USERNAME, FM_PASSWORD);
// retrieve all records in this database available to the current user
$ordersQuery->AddSortParam('ListForWeb', 'ascend');
$orders = $ordersQuery->DoFXAction(FX_ACTION_FINDALL);
foreach ($orders as $contact) {
echo " <option>{$contact['ListForWeb']}\n";
}
?>
</select>
As far as short tags, I manage my way through php ... this is how I was
taught. But I know I use <?php>
Thanks,
Trish
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Dale Bengston
Sent: Wednesday, November 04, 2009 3:08 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] XP: YIKES ...
PHP got turned off? PHP got upgraded? You're using short tags?
<? instead of <?php
Dale
On Nov 4, 2009, at 9:57 AM, VanBuskirk, Patricia wrote:
> Our online form suddenly started sending back the following ...
> instead of going to the confirmation php page...
>
> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
> <!DOCTYPE FMPXMLRESULT (View Source for full doctype...)>
> - <FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult">
> <ERRORCODE>0</ERRORCODE>
> <PRODUCT BUILD="01/12/2008" NAME="FileMaker Web Publishing Engine"
> VERSION="9.0.3.316" />
> <DATABASE DATEFORMAT="MM/dd/yyyy" LAYOUT="Orders_FormView"
> NAME="WEB_Forms.fp7" RECORDS="11156" TIMEFORMAT="HH:mm:ss" />
> - <METADATA>
> <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Contact_Name"
> TYPE="TEXT" />
> <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Contact_Email"
> TYPE="TEXT" />
> <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Contact_Room"
> TYPE="TEXT" />
> <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Contact_Bldg"
> TYPE="TEXT" />
> <FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Contact_Phone"
> TYPE="TEXT" /
>
> Etc. etc....
>
> Any ideas what's gone wrong?
>
> Trish
> _______________________________________________
> FMPexperts mailing list
> FMPexperts at lists.ironclad.net.au
> http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
_______________________________________________
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