Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

[ROQL] To store a result of the ROQL query into an Array/Variables (1 Comment)

$
0
0

Topic by Vignesh Kasargod

Content

Hi Friends, 
 
I am running the below RQOL query to fetch the Contact details from a particular Contact ID.
 
I am able to get the desired output. (verified this with print_r statement). 
 
But my problem is that I am not able to put these results into an array or any set of variables.
 
I understand that the $roql_result_set and $roql_result are objects. And these objects contains my data stored in the form of an array. (as per the print_r statement)
 
Is there any way to fetch the data from the $roql_result_set and $roql_result into An Array ?  
 
Also, please suggest me if in case there are any other ways of accomplishing this task.
 
Thank you in advance. 
 
Regards, 
Vignesh K 

Version

August 2013

Code Block


Viewing all articles
Browse latest Browse all 2504

Trending Articles