Search found 179 matches
- Sun Jan 18, 2004 10:23 pm
- Forum: [3.0/Olympus] New features discussion
- Topic: Karma
- Replies: 33
- Views: 26790
Re: Karma
I like my sig in a fixed-width font
- Sun Jan 18, 2004 9:31 pm
- Forum: [3.0/Olympus] New features discussion
- Topic: Karma
- Replies: 33
- Views: 26790
Re: Karma
Your posts start getting hidden
- Sat Jan 03, 2004 10:24 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 16102
Re: Smart adding of new lines in PHP
Also, on your last one did the PHP parser remove the newline code? I added it in anyway because I didn't see anything that would obviously constitute a replacement (that I know of).
yeah.
hmm... it's weird. it shouldn't be matching like that. As far as a reference goes, the one I use is just ...
- Sat Jan 03, 2004 10:12 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 16102
Re: Smart adding of new lines in PHP
try
remember to take the space out of the \ n
Code: Select all
<?php <?php <?php preg_replace('#([^>])(\s)*\ n#', '\\1<br />', $subject);
- Sat Jan 03, 2004 8:12 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 16102
Re: Smart adding of new lines in PHP
or even better:
Code: Select all
<?php preg_replace('/[^>]\s*\ n/', '<br />', $subject);
- Sat Jan 03, 2004 8:04 pm
- Forum: Chit Chat
- Topic: Smart adding of new lines in PHP
- Replies: 20
- Views: 16102
Re: Smart adding of new lines in PHP
Note that I have not tested this, but here's a try
note that I have a space between the \ and teh n. This is because the 2.2 parser is seriously b0rked right now
note that I have a space between the \ and teh n. This is because the 2.2 parser is seriously b0rked right now
Code: Select all
<?php preg_replace('/[^>]\ n/', '<br />', $subject);
- Thu Jan 01, 2004 12:21 am
- Forum: [3.0/Olympus] Styling
- Topic: Templating ... a simple guide
- Replies: 164
- Views: 424518
Re: Templating ... a simple guide
I just use the ol' standby: 'cat'
i.e.:
i.e.:
Code: Select all
cat > overall_header.tpl
<html>
blahblah...
^D
- Fri Sep 05, 2003 11:14 pm
- Forum: [3.0/Olympus] Discussion
- Topic: phpBB 2.0 styles
- Replies: 1
- Views: 2747
Re: Why?
[quote="Anonymous":]PSSorry, for my bat Englsih P[/quote:]
I don't know how to fix the login problem, but let's just say that you write better english than many native english speakers!
/me scowls at those who write in n00bspeak
edit: and an edit bug too
I don't know how to fix the login problem, but let's just say that you write better english than many native english speakers!
/me scowls at those who write in n00bspeak
edit: and an edit bug too
- Sun Aug 31, 2003 11:02 pm
- Forum: Chit Chat
- Topic: topsecret area51 word game
- Replies: 1276
- Views: 1131174
Re: topsecret area51 word game
script kiddies
(bad thing)
(bad thing)