Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-25 Thread Tamara Temple
Brad nyctelec...@gmail.com wrote: Here is where everything stands.. L http://pastie.org/4317155 I feel strange bottom posting, somehow, BUT THAT'S THE RULE You have never actually shown what your SQL statement is, because: line 33: echo '$sql'; This will NOT interpolate the sql string.

Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-25 Thread Matijn Woudt
On Wed, Jul 25, 2012 at 12:21 PM, Tamara Temple tamouse.li...@tamaratemple.com wrote: Brad nyctelec...@gmail.com wrote: Here is where everything stands.. L http://pastie.org/4317155 I feel strange bottom posting, somehow, BUT THAT'S THE RULE It makes each individual message readable in a

Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-25 Thread Karl DeSaulniers
On Jul 25, 2012, at 5:21 AM, Tamara Temple wrote: Brad nyctelec...@gmail.com wrote: Here is where everything stands.. L http://pastie.org/4317155 I feel strange bottom posting, somehow, BUT THAT'S THE RULE You have never actually shown what your SQL statement is, because: line 33: echo

Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-25 Thread Roberto Carlos Garcia Luis
column name. Brad -Original Message- From: Karl DeSaulniers [mailto:k...@designdrumm.com javascript:;] Sent: Wednesday, July 25, 2012 7:18 PM To: php-db@lists.php.net Subject: Re: [PHP-DB] Re: Stuck trying to upload and grab file name On Jul 25, 2012, at 6:11 PM, Brad wrote: I am

RE: [PHP-DB] Stuck trying to upload and grab file name

2012-07-25 Thread Brad
[mailto:legnakar...@gmail.com] Sent: Wednesday, July 25, 2012 8:17 PM To: Brad Cc: Karl DeSaulniers; php-db@lists.php.net Subject: Re: [PHP-DB] Stuck trying to upload and grab file name The table ñame need The ñame var not tmp_name tmp_name contains / bar El miércoles, 25 de julio de 2012

Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Roberto Carlos Garcia Luis
You need to use te tmp_name ... The plain text file is in path indicated by The string... Regards, El martes, 24 de julio de 2012, Brad escribió: I am making a function that uploads a txt file in csv format and the grabs uploaded file name and the memberID from the sessions login and names

Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Roberto Carlos Garcia Luis
Pelase, print The SQL var and show here The result. El martes, 24 de julio de 2012, Roberto Carlos Garcia Luis escribió: You need to use te tmp_name ... The plain text file is in path indicated by The string... Regards, El martes, 24 de julio de 2012, Brad escribió: I am making a

RE: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Brad
The tmp_file is just gibberish. I ‘truly’ do not want that as the table name. From: Roberto Carlos Garcia Luis [mailto:legnakar...@gmail.com] Sent: Tuesday, July 24, 2012 4:26 AM To: Brad Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Stuck trying to upload and grab file name

RE: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Brad
) [size]= int(61) } From: Roberto Carlos Garcia Luis [mailto:legnakar...@gmail.com] Sent: Tuesday, July 24, 2012 4:30 AM To: Brad Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Stuck trying to upload and grab file name Pelase, print The SQL var and show here The result. El martes

Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Roberto Carlos Garcia Luis
@lists.php.net'); *Subject:* Re: [PHP-DB] Stuck trying to upload and grab file name ** ** You need to use te tmp_name ... The plain text file is in path indicated by The string... ** ** Regards, El martes, 24 de julio de 2012, Brad escribió: I am making a function

RE: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Brad
version for the right syntax to use near ''\' LINES TERMINATED BY \r\n IGNORE 1 LINES' at line 3 From: Roberto Carlos Garcia Luis [mailto:legnakar...@gmail.com] Sent: Tuesday, July 24, 2012 5:12 AM To: Brad Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Stuck trying to upload and grab file name

Re: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Roberto Carlos Garcia Luis
...@gmail.com');] *Sent:* Tuesday, July 24, 2012 5:12 AM *To:* Brad *Cc:* php-db@lists.php.net javascript:_e({}, 'cvml', 'php-db@lists.php.net'); *Subject:* Re: [PHP-DB] Stuck trying to upload and grab file name ** ** In the LOAD DATA LOCAL INFILE '{$_FILES['file']['name']}' You need use

RE: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Brad
to use near ''\' LINES TERMINATED BY \r\n IGNORE 1 LINES' at line 3 Brad From: Roberto Carlos Garcia Luis [mailto:legnakar...@gmail.com] Sent: Tuesday, July 24, 2012 5:23 AM To: Brad Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Stuck trying to upload and grab file name Use $_FILES

RE: [PHP-DB] Stuck trying to upload and grab file name

2012-07-24 Thread Brad
Here is where everything stands.. L http://pastie.org/4317155 From: Roberto Carlos Garcia Luis [mailto:legnakar...@gmail.com] Sent: Tuesday, July 24, 2012 5:23 AM To: Brad Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Stuck trying to upload and grab file name Use $_FILES