OT: php and filepro apostrophe
Richard D. Williams
richard at appgrp.net
Fri Jun 2 08:29:41 PDT 2006
This relates to a previous post about converting apostrophes. I never
could get an edit to perform this function.
I have a problem passing apostrophes from a filepro generated text file
to a php web page.
example:
a field in the text file is D'Alton.
I use php to get read this text field, parse it into php variables.
The text file contains a subject_name of D'Alton.
The apostrophe is there is the filepro text file and after using php
commands list and split to parse the field values into php variable, the
php variable contains D'Alton as well.
But, here is the problem. The html line,
<input type='text' name='subject_name' value='$subject_name'>
result in just the letter D in the text box. Everything after the
apostrophe and the apostrophe is gone.
I tried using addslashes to convert the php variable subject_name value
to D\'Alton. But it just result with D\ being placed into the html text
box.
Does anyone have any suggestions.
This is very urgent,
Richard D. Williams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20060602/24115826/attachment.html
More information about the Filepro-list
mailing list