hgourvest / node-firebird

Pure javascript and asynchronous Firebird client for Node.js.
Mozilla Public License 2.0
258 stars 128 forks source link

Break Line in a Text field #309

Open felipedllinfo opened 1 year ago

felipedllinfo commented 1 year ago

How is possible to include a new line? i have a text area but when i try to insert by procedure it doesn't work I try \n, \r\n, There is some soluition? thanks

mateusvieites commented 8 months ago

This depends on the programming language you are using for data insertion and display in. If all u need is a blob file with \n inside.

const myTextHere = "Hi mateus \n Hi Node-firebird community"; const sql = "Insert into mytable(blob) values(?)"; ... This works showing in Delphi but if you use in html you need to use