Re: [PHP] Breaking lines / NEW

2006-10-03 Thread Dave Goodchild
There is no real need to keep flipping in and out of the string like that, just use this: $stringData = "\n\n\$'$hostname = '$hostname\n\$$database = wordlife\n\$$mysql_username = $mysql_username\n\$$mysql_user_password = $mysql_user_password\n\n"; ...or something similar - use double quotes to

Re: [PHP] Breaking lines / NEW

2006-10-03 Thread Brad Bonkoski
Deckard wrote: Hi Brad, Thanks a lot for your answer and the other guys too. It worked. Now i have another doubt: $stringData = ''; The variables contents should be written in the files within quotes, like: $mysql_username = 'deckard'; This is getting me nuts. Any ideas ? Warm Regards, De

Re: [PHP] Breaking lines / NEW

2006-10-03 Thread Deckard
Hi Brad, Thanks a lot for your answer and the other guys too. It worked. Now i have another doubt: $stringData = ''; The variables contents should be written in the files within quotes, like: $mysql_username = 'deckard'; This is getting me nuts. Any ideas ? Warm Regards, Deckard Brad Bonko