Re: [PHP] getcsv error

2009-10-26 Thread John Black
Looks like Steve posted the answer so here is something related. I use the function below to deal with those annoying magic quotes setups. The function will remove the magically annoying quotes from the POST, GET, COOKIE and REQUEST arrays. Simply save it to a file and include it on top of your

Re: [PHP] getcsv error

2009-10-25 Thread Steve
Brian Hazelton wrote: Brian Hazelton wrote: Brian Hazelton wrote: I have a script which uploads csv data into a database. This works well and has worked in every instance so far. However what I am noticing is that today, even if I escape the data before putting it into mysql it will not enter

Re: [PHP] getcsv error

2009-10-25 Thread Brian Hazelton
Brian Hazelton wrote: Brian Hazelton wrote: I have a script which uploads csv data into a database. This works well and has worked in every instance so far. However what I am noticing is that today, even if I escape the data before putting it into mysql it will not enter a line if it has a sin

Re: [PHP] getcsv error

2009-10-25 Thread Brian Hazelton
Brian Hazelton wrote: I have a script which uploads csv data into a database. This works well and has worked in every instance so far. However what I am noticing is that today, even if I escape the data before putting it into mysql it will not enter a line if it has a single quote, once I take

[PHP] getcsv error

2009-10-25 Thread Brian Hazelton
I have a script which uploads csv data into a database. This works well and has worked in every instance so far. However what I am noticing is that today, even if I escape the data before putting it into mysql it will not enter a line if it has a single quote, once I take out the single quote i