I have a couple of array elements which contain 2-3 word strings. I tried to use the contents of these elements as the default value of a text input box, but only the first word appears.
for example if $my_array = 15th of February, only '15th' appears when I try to use it in the way I mentioned (<input type=text name=date value=$my_array>) I also tried to use array element in mailto link for subject and had same problem.
Hmm... first of all I'm assuming the content of $my_array is a valid email address?
It's a good idea to get into the habit of enclosing all HTML attribute values in quotes, as it's required in XML and XTML which is where we're all heading eventually... so, your line would look something like: