Search
Left Quote    I start where the last man left off.
- Thomas A. Edison    
Right Quote
 
[login] | [Register]
Forum Index » PHP and mySQL » Viewing Topic and Replies
Post Reply


        Viewing Topic: Enter Button
  This user is offline  David1159
  Subject: "Enter Button" Posted: @ 10:56 pm on Aug 15 2008   

Member #: 526
Rank: User - (81)
Since: 12/27/07
Posts: 81
From: usa

If I hit enter in this textbox, it will show on the forum as though I used the enter button.

Like this.

Like this, there is a spacing. There are breaks.

For some reason mine isn't doing that, is there a setting in the form tag or textarea tag that registers the enter button as a
Code:
<BR>
. Or is it done by javascript?

Edited at 05:10:45 am on 08/16/08


Coding is simply CST... Combining $hit Together. We make different $hit to run in unison correctly.
    Viewed: 5,010 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: Enter Button" Posted: @ 4:26 pm on Aug 16 2008    

Member #: 1
Rank: Admin. - (1,505)
Since: 02/06/05
Posts: 600
From: USA

yes I believe it is nl2br();

new line to break




-bs0d | AllSyntax.com

    Viewed: 4,996 Times | Reply to This | To top
  This user is offline  David1159
  Subject: "re: Enter Button" Posted: @ 12:06 am on Aug 17 2008    

Member #: 526
Rank: User - (81)
Since: 12/27/07
Posts: 81
From: usa

Thanks, that is exactly what I needed.

Cheers




Coding is simply CST... Combining $hit Together. We make different $hit to run in unison correctly.

    Viewed: 4,990 Times | Reply to This | To top
Viewing Page: 1 of 1


1 |

You must be logged in to post on the forums. Login or Register








"AllSyntax.com" Copyright © 2002-2018; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank