Search found 3 matches
- Mon May 17, 2010 4:03 am
- Forum: PHP - Code
- Topic: Multi dimensional array and CSV
- Replies: 3
- Views: 5029
Re: Multi dimensional array and CSV
Won't I have the same than ? won't [$rowcount] be filled with the entire CVS instead of 1 row ?
- Sun May 16, 2010 3:51 pm
- Forum: PHP - Code
- Topic: Multi dimensional array and CSV
- Replies: 3
- Views: 5029
Re: Multi dimensional array and CSV
Someone got an idea ?
- Wed May 12, 2010 4:26 am
- Forum: PHP - Code
- Topic: Multi dimensional array and CSV
- Replies: 3
- Views: 5029
Multi dimensional array and CSV
Hi, I used to have the code: the CSV is specified in another php file I can upload it if needed $data = fgetcsv ($fp, 2000, ",") $sql='INSERT INTO test (`name`) VALUES (\''.mysql_real_escape_string($data[]).'\')'; echo $sql."<br>"; exit(); and it worked 100% but i needed to make ...