[FX.php List] Add data to a field with a return
zippyaus at yahoo.com
Mon Nov 29 23:11:33 MST 2010
I am stumped. I have a form which has a field called new_note which I want to
add to my notes field in Filemaker via fx.php
To accomplish this I have added to my form a hidden input called currentnote
<input type="hidden" value="<?php echo $currentnote ; ?>" name="currentnote" />
On my php submit_reply form, I have my variables gathered to create $addNote
which is added to the field via $editResult=$edit->FMEdit();
$today = date("d/m/Y");
$addNote= $today . ' - ' . $User . ' - ' . $Note . /n . $currentnote ;
I don't think this is the best way to do this.
1. Is there a better way of amending form data to a field in Filemaker?
2. How do I pass a return from php to filemaker? I can't find a way to make
the . /n code into a carriage return in Filemaker.
Any advice would be greatly appreciated.
Apologies for all the code in the email.
Thanks in anticipation
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FX.php_List