Reply to Re: $_POST and CSV File

Your name:

Reply:


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);
}

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация