dongping4901 2010-12-21 06:45
浏览 79
已采纳

我如何在PHP中创建一个接口来添加数据csv文件

hey...i need to create a html+php+javascript interface

where i got three text area and i want::::

that if i'll enter some data into text area and pressing submit button,,then it'll enter that textarea's data into a csv file..

pls some one help....

  • 写回答

2条回答 默认 最新

  • dongmeixian9665 2010-12-21 08:07
    关注

    $fp = fopen('file.csv', 'w'); fputcsv($fp, $_GET['TextArea']); fclose($fp);

    ?>

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?