I have a form with a textarea and it is being used by a marketing dept
to
  paste a ms word doc into. It then is saved into a mysql database and
viewable online. the
  problem is that the word doc used vbCrLf which is not recognized by
the browser, so the
  lines are exteeeemely long.
  I have tried this:
  <?
  echo [${"mytextbox"},"vbCrLf","<br />"];
  ?>
  It just results in an error:
  parse error: expecting "," or ";" on line 8
  (which is the echo line above)
  I would like to be able to add the necessary code to the existing page
so it will automatically
  do the conversions, or put the code into the display page so it will
convert the text at the
  time it is loaded into the page to be read.
  Any suggestions on how to convert the vbCrLf to <br /> on the ms word
doc that is
  pasted into a textarea?
  Surely somebody has come up against this problem, I have yet to find
the answer that will
  work in any of my 3 php books or online.

--
Regards,

Chip




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to