|
-
Nov 22nd, 2002, 05:37 AM
#1
Thread Starter
Hyperactive Member
New lines?
I'm useing the code below to add people to my mailing list, however it will not automaticly make a new line for the new entry.
any ideas on how I can do that?
PHP Code:
<?php
$text = implode(":", $_POST);
$text += "\n";
$fp = fopen ("list.txt", "a+");
fwrite($fp, implode(":", $_POST));
fclose($fp);
?>
<?php echo implode(":", $_POST);?>
[VBCODE]
Option Explicit
Dim XXX As Porn
Dim Wife As Nag
Private Sub *****_Resize()
On Error Resume Next
Get Viagra
End Sub
[/VBCODE]
-
Nov 22nd, 2002, 02:49 PM
#2
Fanatic Member
-
Nov 22nd, 2002, 03:09 PM
#3
Stuck in the 80s
I've never had a problem just using \n
But yeah, that'll probably fix it.
-
Nov 22nd, 2002, 03:10 PM
#4
Stuck in the 80s
Consider using a MySQL database, if you have that option. It's much, much friendlier. more friendly...whatever the grammatically correct way to say that is. You know...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|