Click to See Complete Forum and Search --> : Forms Need Help Bad (Simply One)


hullghost
10-31-2003, 05:13 PM
Hello All,

I have a little code issue that you might be able to help with!

I have a scrolling text box on the page.

Say the text box is called "comments"

So the code to put the stuff in the database looks like this (Just an example)
<%
MYDATBASEOBJECT.addnew

MYDATBASEOBJECT("comments") = Request.for ("comments")

MYDATBASEOBJECT.update

%>

<html>

<form method="POST">

<td width="374"><textarea rows="6" name="comments" cols="44"></textarea></td>

<p align="center"><input type="submit" value="Submit New Thread" name="submit"></p>

</form>

</html>

Very Roughly anyway!

Well it works fine apart from the fact that when a user presses "Return" for a new line it is reflected in the database as a space.

I need a Return Press (Carriage Return) to be recognised as a new line in the database.

Any Ideas?

fatboy
11-03-2003, 07:31 PM
I want a feed back form were the people put a comment and it sends it srait to my email adress Ive tried and look all over but all that happens is an email window pops upthis is the code i use

<FORM METHOD = POST
ENCTYPE = "text/plain"
ACTION = "mailto:phatboy_164@hotmail.com?subject=FatEmail">
<textarea name="Email" cols=20 rows=1></textarea><Input type = submit value = "Send Now"></form>


can you edit it so it will work