I have my db pulling info into an array. One of the fields from the array is being placed in a text box as the value of the box. If the value has no single or double quotes it displays fine. I the value has these (single or doule quotes) it displays up to where the single or double quote is and stops.
If the value is 'John's Hat' it would display
'John' and stop there.
while ($Row = mysql_fetch_array($Result)) {
print"<td width=264> <input type=text name=subject value='Re: $Row[fldtitle]'></td>";
}
Is preg_replace what I am looking for here.
How can I get the whole value to display without stopping.
Thanks,
Stan
http://www.finaticsportfishing.com/fishingreports/