Developer's Manual  Function Reference  Database Functions  Class $suSQL  Method queryDataSmart

Method queryDataSmart

Executes query and returns result as an array.


array $suSQL->queryDataSmart(string query [, string field1 [, mixed field2 [, int aggregate]]])

queryDataSmart() works in the same way as the queryData() function. The only difference between the functions is that the queryData() returns array of strings, even if the values inside the array are numbers, and the queryDataSmart() returns values in their original format.

Please login to add comments.