Database.MySQL.getField() This page was last modified over 30 day(s) ago and has 1 comment(s)


Back to Database.MySQL Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Database.MySQL.getField(rowIndex:Number, columnIndex:Number):String

Parameters
rowIndex:Number Reference to row index

columnIndex:Number Reference to column index.

Returns
A String

Description
Returns a single result from a MySQL by specifying the row and column.

Notes
None

Example Code
var myInfo:String = mdm.Database.MySQL.getField(1, 1);

mdm.Database.MySQL Class Example Downloads
No Example Downloads Available


User Comment by MDM Admin on 12th February 2008 - 17:19
Users should note that Zinc 3.0 uses "0" based Index Values as opposed to Zinc 2.5 which used "1" based Indexes. So, for example, to retrieve the first row, you should access [0] instead of [1].

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page