On Sat, 06 Nov 2004 23:49:47 -0700, Don <no@adr.com> wrote:
Using PHP, I'm creating an <input> tag. How do you delimit the text string for the value parm of an
<input> tag, when the string contains the delimit char?
Example: <input...value="This text has a " in it"...>
I tried preceeding the " with a the escape char \, but the browser apparently still used the
embedded " as termination of the value string.
One other thing...is the delimiter limited to just " and ' ?
Thanks for any help.
Don
I just realized I need to tell the rest of the story.
The value for that <input> tag comes from the client, therefore it
might contain any characters, including " and '. And, it might even
contain both of those characters. That's why I'm hoping there is a
way to delimit embedded chars, or a way to use something other than "
and ' for the delimiters.
Don
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---