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 ...
Search found 4 matches
- Wed May 09, 2007 4:22 pm
- Forum: Databases
- Topic: how to get picture from mysql database
- Replies: 5
- Views: 10062
- Wed May 09, 2007 1:10 pm
- Forum: Databases
- Topic: how to get picture from mysql database
- Replies: 5
- Views: 10062
- Wed May 09, 2007 11:25 am
- Forum: Databases
- Topic: how to get picture from mysql database
- Replies: 5
- Views: 10062
- Tue May 08, 2007 10:13 pm
- Forum: Databases
- Topic: how to get picture from mysql database
- Replies: 5
- Views: 10062
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 ...
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 ...