[PHP] writing file on server from database?

2004-03-03 Thread raisinlove
Hi, I'm currently working on a basic website creation script where I want an index file created automaticaly within each new folder created. My attempts at using copy() were foiled by safe-mode restrictions on my account but after some research, I discovered this could be circumvented with the

RE: [PHP] writing file

2003-04-01 Thread M.A.Bond
If you want to use the " in within the string, you should use ' to surround the string ie: $string='.. .'; Thanks Mark -Original Message- From: Diksha Neel [mailto:[EMAIL PROTECTED] Sent: 01 April 2003 12:21 To: [EMAIL PROTECTED] Subject: [PHP] wri

Re: [PHP] writing file

2003-04-01 Thread Chris Hayes
Double quotes inside double quotes! $cname $string=" aditya $cnamehi!$city $bemail"; echo "'$contents'"; and you do not need these quotes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] writing file

2003-04-01 Thread Diksha Neel
dear all, hi! i have a php script from which i am creating an html file as under. my problem is that when i open aditya.html, i can see the variable values and "hi!". but when i want to put the value of $cname in the center of the screen by using div tag as: $cname i get a parse error. why is