Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-09-2005, 11:28 AM
varg is offline varg
Registered User

Join Date: Nov 2003
Posts: 81

Send a message via ICQ to varg
php: enter = <br />

Since my post here didnt get much attention, I decided to try here..




I am using the phmapdb on my site

What I want to do is mod it a little, so that when a person submits a map(here), he can press enter in the box where he fills out the description of the map. There will be a <br> on the in his description of the map on the list of maps in the db (here)
__________________


MapMakersHeaven.org is currently down, but she will be re-born in 2010!
Reply With Quote
  #2  
Old 11-09-2005, 01:24 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

In func.php, line 403 change:

$m[mdesc]=html($m[mdesc]);

to
$m[mdesc]=nl2br(html($m[mdesc]));
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #3  
Old 11-09-2005, 01:42 PM
Erik is offline Erik
Registered User

Join Date: Sep 2005
Posts: 1,285

Oh btw, Panther is script god here.
Reply With Quote
  #4  
Old 11-09-2005, 02:00 PM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
lol were did everybody on PHP HQ gone to ?? ... Im starting again so im in need of desperate help....
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #5  
Old 11-09-2005, 05:02 PM
varg is offline varg
Registered User

Join Date: Nov 2003
Posts: 81

Send a message via ICQ to varg
thanks a lot for the quick reply! I sort of wonder now why I didn't post it here earlier lol
__________________


MapMakersHeaven.org is currently down, but she will be re-born in 2010!
Reply With Quote
  #6  
Old 11-09-2005, 08:26 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

Quote:
Originally posted by katana*GFR*
lol were did everybody on PHP HQ gone to ?? ... Im starting again so im in need of desperate help....
Katana I'm thinking of same thing. what you up to?
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #7  
Old 11-11-2005, 09:47 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
Basics again, after i got that down im sneaking up on some of Panthers scripts, and after that i´ll try a few things.
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #8  
Old 11-11-2005, 05:49 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

Yeah I was doing some my own stuff, but got interrupted. Now have to start again.
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #9  
Old 11-12-2005, 03:34 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
lol... I was to busy with trying to get 3 languages down in 1 time.... PHP - C# - ASM

Now its just PHP, and a bit ASM
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dave61 <<< happy birthday >>> MERMITE General Chat 4 06-27-2010 06:44 PM
News Flash <<< Dem Shuttind Down For Ever >>> silentraiders News 4 04-28-2005 07:21 PM
<<>> News Flash <<>> silentraiders Gaming Talk 0 08-20-2004 04:24 AM
<?PHP Problem ?> Se7eN Web design and Programming 4 08-02-2003 08:11 PM


All times are GMT -5. The time now is 11:21 AM.




Powered by vBulletin®