1
I'm still having trouble with apostrophes in XOOPS objects. I can instantiate a XoopsFormTextArea() with some default text including text with an apostrophe and that works fine. But when I instantiate a XoopsFormText() with text containing an apostrophe, the apostrophe and all text to the right of it just disappear. I'm obviously missing something very basic. Can someone please clue me in?
Works:
$contents = new XoopsFormTextArea("Report","report","Some default text's that contain apostrophes",12,60);
Doesn't display anything at or after the apostrophe:
$contents = new XoopsFormText("Report","report",60,255,"Some default text's that contain apostrophes");
Thanks
Doug P