putting binary data into a mySQL database

Kay C Lan lan.kc.macmail at gmail.com
Sat Jan 23 21:16:11 EST 2016


On Thu, Jan 21, 2016 at 10:51 PM, John Dixon <dixonja at hotmail.co.uk> wrote:

>
> Can someone tell me what I am doing wrong here ?
>

I guess you've figured it out by now, but just in case:

>
>    put "INSERT INTO" & tTableName & "(" & tFields & ") VALUES(:1,:2)" into
> tSQL
>

= INSERT INTOthenamer(thename,thechat) VALUES(:1,:2)

I think you want:

put "INSERT INTO" && tTableName && "(" & tFields & ") VALUES(:1,:2)" into
tSQL

= INSERT INTO thenamer (thename,thechat) VALUES(:1,:2)

HTH



More information about the use-livecode mailing list