February 6th, 2000, 10:29 AM
I've been working on a script to store large amount of text in a MySQL database under perl. I'm using the DBI module.
Under PHP3 there a function called addslashes for adding escapecode.
How does this work with perl and DBI ?
February 19th, 2000, 12:43 PM
Do you really need to escape these items?
How are you going about it so far? If you place the whole line that you want to add to the database in a variable it shouldn't need escaping?!
Show us what you have got so far.
March 10th, 2000, 10:36 PM
Use DBI's quote() function. See perldoc DBI for more.