Search found 4 matches

by robman
Wed May 09, 2007 4:22 pm
Forum: Databases
Topic: how to get picture from mysql database
Replies: 5
Views: 10073

in the card I have image "ctgfork01"

I then tried to update the mysql database using

put base64Encode(image "ctgfork01") into tBase64ImgData

put 123456 into tImgID

put "UPDATE pictures SET picture = :1 WHERE id = :2" into tQuery

recExecuteSQL dbID, tQuery, "tBase64ImgData", "tImgID"


in the ...
by robman
Wed May 09, 2007 1:10 pm
Forum: Databases
Topic: how to get picture from mysql database
Replies: 5
Views: 10073

this is the mysql picture table
ID int
name varchar 20
picture longblob

I see another post here were you insert picture using base64encode, put I did not use rev to insert the picture, can use the base64decode to retrieve the picture still?
by robman
Wed May 09, 2007 11:25 am
Forum: Databases
Topic: how to get picture from mysql database
Replies: 5
Views: 10073

I don't know, how do I find it out?
by robman
Tue May 08, 2007 10:13 pm
Forum: Databases
Topic: how to get picture from mysql database
Replies: 5
Views: 10073

how to get picture from mysql database

have a table with flds id and picture which is a blob
trying to get the picture from database and display it in a image fld tried this but does not work

put "SELECT * FROM pictures WHERE pictures.ID = 3" into theSQL
put revQueryDatabaseBLOB(dbID, theSQL) into curID
put revDatabaseColumnNamed ...