Commas conundrum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to import a .csv file into a table.  One of the columns of the
.csv file looks like this:  Manila, Philippines. I want this data to go into
one field:  "address"

When I do the import with stripslashes (magic_quotes_gpc is turned on) it
does this:

insert into helpdesk values( '0',  '"Manila', 'Philippines"')

which obviously doesn't work.  What am I doing wrong?

Anne


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux