[FX.php List] Sending carriage returns within a string into FM field

Matthew Henderson matthewm at ucsc.edu
Wed Mar 2 13:50:19 MST 2011


I think the behavior of PHP special characters \r\n changes with using
double quotes. 

 

Try "merchandise\r\ntaxexempt"

 

 

-- 
Matthew Henderson 
Programmer Analyst 
Information Technology Services 

Business Systems Group

University of California, Santa Cruz
(831)-459-1252 
 <mailto:Matthewm at ucsc.edu> Matthewm at ucsc.edu

 

From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Bob Patin
Sent: Wednesday, March 02, 2011 12:38 PM
To: FX.php Discussion List
Subject: Fwd: [FX.php List] Sending carriage returns within a string into FM
field

 

 

 

Begin forwarded message:

 

From: Bob Patin <bob at patin.com>

Date: March 2, 2011 2:37:01 PM CST

To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>

Subject: Re: [FX.php List] Sending carriage returns within a string into FM
field

 

Nope, didn't work; I got

 

merchandise\rtaxexempt

 

which is the same as what I get when I use both. I could've sworn it was
\r\n, but that doesn't work either.

 

My last little thing to get before i turn this loose on testers... argh...

 

Bob Patin

 

Longterm Solutions

bob at longtermsolutions.com

615-333-6858

http://www.longtermsolutions.com <http://www.longtermsolutions.com/> 

iChat: bobpatin

FileMaker 9, 10 & 11 Certified Developer

Member of FileMaker Business Alliance and FileMaker TechNet

--

Expert FileMaker Consulting 

FileMaker Hosting for all versions of FileMaker

PHP . Full email services . Free DNS hosting . Colocation . Consulting

:

 

 

 

 

On Mar 2, 2011, at 2:28 PM, Tim 'Webko' Booth wrote:

 

Ithink FM only wants the \r from memory

Tim 'Webko' Booth

[m] 0418 993 306


On 03/03/2011, at 7:01 AM, Bob Patin <bob at patin.com> wrote:

I know this, but nothing I'm doing is working; 

 

I want to send this into a single FM field:

 

merchandise

taxexempt

 

I tried using this 

 

$create->AddDBParam('item_type','merchandise\r\ntaxexempt');

 

which I *thought* would send the carriage return; can someone refresh my
memory?

 

Last little nagging glitch in a long project...

 

Thanks,

 

Bob Patin

Longterm Solutions

bob at longtermsolutions.com

615-333-6858

http://www.longtermsolutions.com <http://www.longtermsolutions.com/> 

iChat: bobpatin

FileMaker 9, 10 & 11 Certified Developer

Member of FileMaker Business Alliance and FileMaker TechNet

--

Expert FileMaker Consulting 

FileMaker Hosting for all versions of FileMaker

PHP . Full email services . Free DNS hosting . Colocation . Consulting

:

 

_______________________________________________
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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20110302/f7398283/attachment-0001.html


More information about the FX.php_List mailing list