Breaking lines
| From: | Deckard | Date: | Tue, 03 Oct 2006 12:05:48 +0000 |
| Subject: | Breaking lines | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-242528@lists.php.net to get a copy of this message | ||
Hello,
I have this code to write three lines in a file (config.php):
$stringData = '$hostname = ' . $hostname . '\n' . '$mysql_username = '
.
$mysql_username . '\n' . '$mysql_user_password = ' .
$mysql_user_password . '\n';
but instead of breaking a line, it appears in the file the string \n
How can i make the line break ?
Any help would be appreciated.
Best Regards,
Deckard