best way to store data from signature widget into mysql db

JJS jjs at krutt.org
Tue Aug 13 15:22:43 EDT 2019


Hi,


i was wondering what the best way would be to store a signature of the 
signature widget into mysql db, so i can recall it.

1. figure out how many keys/elements there are in the array, as  it will 
be different per signature (serialize it as a single string, or create a 
JSON and store it directly)

or

2. is it possible to export the signature, which probably is an svg, to 
an jpg/png so i can store it as BLOB?


thanks for any insights.


Regards,

Jerry





More information about the use-livecode mailing list