Date: 02/25/99
- Next message: Bug Database: "[PHP-DEV] Bug #1183 Updated: File write Access"
- Previous message: bofh <email protected>: "[PHP-DEV] Bug #1182: $obj->array[$x]->classfield doesn't work!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: Rene.Matthaeus <email protected>
Operating system: SuSE Linux 6.0 Kernel 2.0.36
PHP version: 3.0.6
PHP Bug Type: Parser error
Bug description: File write Access
When I create/open a File to write, only could be written in the File when there is one Byte in the File.
Can you Help me ?
while ($row = mysql_fetch_row($result)) {
$fname="export.dat";
if ($fp = fopen($fname, "a+")) {
for ($i=0;$i<=13;$i++) {
$data[$i]=("$row[$i],");
fputs($fp,$data[$i]);
}
fclose($fp);
}
}
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1183 Updated: File write Access"
- Previous message: bofh <email protected>: "[PHP-DEV] Bug #1182: $obj->array[$x]->classfield doesn't work!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

