[FX.php List] Re: Problem displaying results of FMEdit() with over 40 vars

David Cox davidcox at wcfs.edu
Mon Apr 6 05:49:40 MDT 2009

Thanks for the reply.  I am only working with one database file, and for
this php script, only one table.  The permissions issue is something I've

What is strange is that the data actually gets updated in the database, but
the result that is returned to php and then the browser is missing the
information from the additional fields.  I can check the database after the
post and the data appears in the record, however, it is not sent back to the
browser in the result.

When I originally created this php script, I did the initial testing and
debugging using only about 10 fields from the layout and everything worked
fine.  I then added the remaining 35+ layout fields (all from the same table
& layout) to the script (I simply duplicated and changed their names so as
not to cause any problems), but this is where it started breaking down.
Again, the FMEdit() does occur and the data is updated in the database, but
the last half of the field data is not sent back to the browser.

I've thought about cheating by storing the vars in the session and sending
them back to the browser while ignoring the FMEdit() result data.  Although
this would not actually be the result of the post, it would keep it
working.  I want to avoid this because I want to get the actual data out of
the database.

Is there some sort of field variable limit?


> ----------------------------------------------------------------------
> Message: 1
> Date: Fri, 3 Apr 2009 09:39:46 +1100
> From: Head Honcho <headhoncho at customikesolutions.com>
> Subject: Re: [FX.php List] Re: [FX.php_List] Problem displaying
>        results of      FMEdit() with over 40 vars
> To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>
> Message-ID:
>        <D33813AF-BA99-4428-A6E1-46F3EDE58E38 at customikesolutions.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> Hi David,
> If some of your fields are coming from another file, make sure that
> file has "edit" permissions for the web "user".  Otherwise it'll fail.
> On 03/04/2009, at 7:51 AM, David Cox wrote:
> > I've got a problem I've been banging my head against all week.
> >
> > I've got an FMEdit() which displays the results fine with only about
> > 10 returned vars.  However, when I try to return over 40 vars from
> > the same layout (which updated in FileMaker fine), the data does not
> > display for the all the vars.  I can see the updated data in the
> > FileMaker db, but it does not display in the returned result.
> >
> > Is there some sort of limit on how many vars I can return and
> > display after an FMEdit() function?  Everything worked fine before I
> > tried to go for the full record.  I've checked all my $data vars in
> > the html to make sure they are echoed out in the html output and
> > they are fine.
> >
> > Here is the code that is haunting me. (specifically the foreach
> > section in second half)
> >
> >
> <snip />
> >
> > Thanks,
> > David
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
> Regards
> Michael Ward
> --
> Head Honcho
> CustoMike Solutions
> Member, FileMaker Business Alliance
> Member, FileMaker Technical Network
> FileMaker 7 Certified Developer
> FileMaker 8 Certified Developer
> FileMaker 9 Certified Developer
> 10 Wandoo Crt
> Wheelers Hill, 3150
> ph 0414 562 501
> headhoncho at customikesolutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090406/0ac7ac92/attachment.html

More information about the FX.php_List mailing list