<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Courier New, Courier, monospace">This relates to a previous
post about converting apostrophes. I never could get an edit to
perform this function.<br>
<br>
I have a problem passing apostrophes from a filepro generated text file
to a php web page.<br>
<br>
example:<br>
a field in the text file is D'Alton.<br>
I use php to get read this text field, parse it into php variables.<br>
<br>
The text file contains a subject_name of D'Alton.<br>
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.<br>
<br>
But, here is the problem. The html line,<br>
<input type='text' name='subject_name' value='$subject_name'><br>
result in just the letter D in the text box. Everything after the
apostrophe and the apostrophe is gone.<br>
<br>
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.<br>
<br>
Does anyone have any suggestions.<br>
<br>
This is very urgent,<br>
<br>
Richard D. Williams<br>
</font>
</body>
</html>