pictures in mysql database

Robert Mann robmann at gp-racing.com
Tue May 8 11:06:48 EDT 2007


Have some pictures in a mysql database I am not sure how to get them to
display in my image field this is what I have tried so far

 

put "SELECT * FROM pictures WHERE pictures.name= 'ctgFork01';" into theSQL

    put revQueryDatabase(dbID, theSQL) into curID

     put revDatabaseColumnNamed(curID,"picture") into ctg1

     set the filename of image "ctg1" to ctg1 -- this did not work

--or  this one    

put ctg1 into image "ctg1"

 

anyone know what I need to do to get the picture to display?

 

Thanks

Rob

 




More information about the use-livecode mailing list