Re: $_POST and CSV File
- From: "steve" <a@xxxxxx>
- Date: Fri, 28 Oct 2005 15:52:43 -0500
ok...i should have re-read before posting...make the following changes:
| in html include 3...
|
| <input type=submit name=submitB>
change to (damn that copy/paste):
<input type=submit name=submitC>
| case 'a' : $columns[] = 'rded1';
| $columns[] = 'rded1';
| break;
change to (damn that copy/paste):
case 'a' : $columns[] = 'rded1';
$columns[] = 'rded2'; // or whatever
break;
| $fp = fopen('data/' . $submitSource . '.csv', 'a+');
| fwrite('"' . implode('", "', $record) . '"');
| fclose($fp);
awww...go ahead and check to see if there's something to write:
if ($submitSource != '')
{
$fp = fopen('data/' . $submitSource . '.csv', 'a+');
fwrite('"' . implode('", "', $record) . '"');
fclose($fp);
}
.
- References:
- $_POST and CSV File
- From: Michel Beaussart
- Re: $_POST and CSV File
- From: steve
- Re: $_POST and CSV File
- From: Michel Beaussart
- Re: $_POST and CSV File
- From: steve
- $_POST and CSV File
- Prev by Date: Re: $_POST and CSV File
- Next by Date: convert day number to date
- Previous by thread: Re: $_POST and CSV File
- Next by thread: Re: Need expert assistance with this (MySQL routine)
- Index(es):
Relevant Pages
|