Re: insert a blob

2001-05-16 Thread Ilya Martynov
WA how can in insert i.e. a tar-archive in a blob ? WA i want to do it with perl. i read allready about the quote function but i WA wount work Try to use placholders. I'm under impression that quote is not reliable. At least man DBI says: Quote will probably not be able to deal with

Re: insert a blob

2001-05-16 Thread Ilya Martynov
WA thank you ! WA i get it into the database but WA with a select i get WA select * from table; WA [..skip..] WA Can i read the data out and put in a file ? WA you understand ? It probably just means that mysql client is confused by binary data. It usually doesn't handle it well. It doesn't

RE: Insert into blob

2001-02-06 Thread Roger Ramirez
Try using this function on your data before inserting into the database. http://www.php.net/manual/en/function.addslashes.php If that doesn't work show us what error you are getting. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05,

Re: Insert into blob

2001-02-05 Thread Rolf Hopkins
There's a function in php that allows you to escape strings before it is submitted to mysql. Check it out in the PHP manual. - Original Message - From: "Rus" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, February 06, 2001 7:48 Subject: Re: Insert