I want to ask why my Text Area produce the text 'undefined'
mdm.Database.MySQL.connect("localhost", "3306", true, "root", "adaptasi");
mdm.Database.MySQL.runQuery("SELECT morfo FROM materi");
TextIsi1.text = mdm.Database.MySQL.getData();
I use mdm for my flash (swf) project that connect with database.
Returns
An Array
Description
Returns the full query data to a 2 dimensional array. The first dimension contains the row number and the second dimension contains the field number.
Notes
A Query must first be executed with mdm.Database.MySQL.runQuery()
Example Code
from documentation your code should be something like: