[PHP] Array question

2001-05-16 Thread Matthias Roggendorf
Hi, I wrote some code and I do not understand the result I get: while ($data = fgetcsv ($fp, 1000, ,)) $line[$j++] = $data; When I ouput $line[0][0] I get Array[0] instead of the real value. Why is that? Thanks for your help, Matthias -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] File upload !!!!

2001-05-14 Thread Matthias Roggendorf
ou using the correct ENCTYPE for the upload, along with using POST (GET doesn't work). Also, if you are trying to us the information from inside a function, I had to either globally define all of the attributes, or you could pass them to the function. Hope this helps Kevin Williams Matthias Roggendor

[PHP] File upload !!!!

2001-05-13 Thread Matthias Roggendorf
Hi, sorry for asking such easy things but I really have a hard time to get this to work: I use exactly the scripts which are given on the PHP website to upload files. The problem is that the variable $userfile just contains none and $userfile_size is 0. The rest of the variables have the right