[FX.php List] editing portals

Tim 'Webko' Booth tim at nicheit.com.au
Mon Nov 3 16:03:25 MST 2008


On 04/11/2008, at 9:59 AM, david weiner wrote:

> Hi everyone,
> I'm hoping someone can help me out here. I have a portal in  
> Filemaker with a couple of fields that I'd like to have editable via  
> php.
>
> If I create a table in PHP and display the portal info using:
>
> <tr><td>Room Second</td><td><input name="RoomSecond" type="text"  
> id="RoomSecond" value="<?php
> 	$prow = 0;
> 	while($searchData['__peoplePOSITIONS_HR::RoomSecond'][$prow]) {
> 	echo $searchData['__peoplePOSITIONS_HR::RoomSecond'][$prow];
> 	$prow++;
> 	}
> ?>
> ">
>     </td></tr>
>
> I get the data but I get a 102 error on editing and I assume it's  
> because Filemaker doesn't know which portal row to apply the edit to.
>
> What's the right way to do this?

One that works ;-)

In general, I do not edit through portals - I grab the child records  
primary ID and edit directly into the child table.

Cheers

Webko


More information about the FX.php_List mailing list