Record API Reference

 Convert SELECT SQL's result into json or xml. The variable is same format with SELECT result, this function is available for the variable.

This function is used with Ajax. The examples jQuery Autocomplete uses this exmaple.

dom2json(@RECORD)

 Convert queried result array into json string. This function is used after using the SELECT SQL.

If you return the json string to the $.ajax() function, it process the json string and make Javascript object automatically.

dom2xml(@RECORD)

 Convert queried result array into xml string.


Go to Top