http://qs321.pair.com?node_id=315932


in reply to MySQL Blob / DBI quote ?

That didn't work.

That isn't the kind of remark that will help us to solve your problem. Perhaps you should read (and meditate upon) Before asking a database related question .... The most important piece of information from that node is about creating a test case for submission. Please try it.

BTW, I remember now that I gave you the same advice for a different problem, but you don't seem to be listening.

As for your case, you say that you are quoting $string, but you failed to mention what $string is. Is it your query? Your shopping list? Your cat's favorite food? Or a variable containing your text? Please give us more details. A few lines od code replicating your problem would be helpful.

In addition to hardburn's advice on using placeholders, you can also have a look at a practical example where placeholders are used successfully with BLOB fields ( Handling huge BLOB fields with DBI and MySQL).

 _  _ _  _  
(_|| | |(_|><
 _|