|
Posted by steve on 10/13/63 11:30
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);
}
Navigation:
[Reply to this message]
|