Re: $_POST and CSV File



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


.



Relevant Pages

  • Re: Translate HTML table to Word table?
    ... Copy/Paste is limited only by your machinešs available disk space and your ... chugging well above that on the Mac file system or on Windows XP. ... Yahoo email was a full and complete ... >> After the initial headers and a plain text part, you'll find an HTML part. ...
    (microsoft.public.mac.office.word)
  • Re: Subtraction
    ... I just tried to copy/paste baseball stats from ... Fox Sports again pasting as HTML and all formulas worked perfectly. ... internet even if I recopy/paste them to a different cell. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: HTML not interpretted
    ... Did you put it in Code View (aka: ... Copy/Paste into Code View/HTML. ... Insert | Web Components |Advanced Controls | HTML ... Then File | Preview In Browser if you wanna see it in a browser ...
    (microsoft.public.frontpage.client)
  • Re: applet doesnt find jars !!
    ... > No, it was a typo:) ... Same applies to HTML, copy/paste it. ... http://www.1point1C.org/ Science & Technology ...
    (comp.lang.java.programmer)
  • Re: AppleScript: Reply using Word 2004
    ... > text or HTML - the only thing you can do is leave it in HTML to retain the ... It would all hinge on whether copy/paste would work with ... know I can just do a manual copy-paste from Entourage to Word but was ... wondering if there was a scriptable way that still preserves the font. ...
    (microsoft.public.mac.office.entourage)