[FX.php List] Problems with a field having a " ' " entered
Andy Gaunt
andy at fmpug.com
Fri Aug 25 15:40:18 MDT 2006
Florence,
If you wrap your value in stripslashes( ) then your quotes will display
correctly
To post values to the database you can use
stripslashes($_POST['field']);
or to display a value from the database on the page,
stripslashes($value['YourField'][0]);
HTH
Andy Gaunt
Office: 321.206.3658
Mobile: 407.810.4722
andy at fmpug.com
http://www.fmpug.com
2006 FileMaker Excellence Award Winner
Recipient of FileMaker's 2005 "Mad Dog" Public Relations Award
For chapter locations, dates & times please visit the website at
http://www.fmpug.com If you can make it to a meeting, please RSVP at
http://www.fmpug.com/rsvp.php
_____
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of
FHASELTINE at aol.com
Sent: Friday, August 25, 2006 5:32 PM
To: fx.php_list at mail.iviking.org
Subject: [FX.php List] Problems with a field having a " ' " entered
I would like to know how to get a word like Women's to Post Correctly and to
be read correctly
If I. Post women's to the data base, and I then display it in a web browser,
I get women\'s showing up.
How do I get the apostrophe character to be entered and once entered to be
displayed correctly?
Florence Haseltine
AIM: Fhaseltine
fhaseltine at aol.com
240-476-7837
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060825/e40e40d8/attachment.html
More information about the FX.php_List
mailing list