uis [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
The table ñame need The ñame var not tmp_name tmp_name contains / bar
El miércoles, 25 de julio de 2012, Brad escribió:
> Switching it to -> ALTER TABLE `{$memberID}` ADD {$tmp_name} VARCHAR(60);
> produces the same error.
> For the record $tmp_name is just gibberish and should not be the final
On Jul 25, 2012, at 5:21 AM, Tamara Temple wrote:
Brad 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
On Wed, Jul 25, 2012 at 12:21 PM, Tamara Temple
wrote:
> Brad 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 human readable order. That's why.
>
> You
Brad 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. This is why you keep
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
ined index: tmp_name in
/home/nyctelecomm.com/www/mail/import.php on line 20
Notice: Undefined index: tmp_name in
/home/nyctelecomm.com/www/mail/import.php on line 24
$sqlYou have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use nea
[mailto:legnakar...@gmail.com 'legnakar...@gmail.com');>]
>
> *Sent:* Tuesday, July 24, 2012 5:12 AM
> *To:* Brad
> *Cc:* php-db@lists.php.net 'php-db@lists.php.net');>
> *Subject:* Re: [PHP-DB] Stuck trying to upload and grab file name
>
> ** **
line 24
$sqlYou have an error in your SQL syntax; check the manual that corresponds
to your MySQL server 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
AM
> *To:* Brad
> *Cc:* php-db@lists.php.net 'php-db@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...
>
>
} array(5) {
["name"]=> string(14) "emailsTest.txt" ["type"]=> string(10) "text/plain"
["tmp_name"]=> string(14) "/tmp/php98AolN" ["error"]=> int(0) ["size"]=>
int(61) }
From: Roberto Carlos G
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
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
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 t
14 matches
Mail list logo