i created a field called : (sitename_ar) and i have two rows (two domains) in {domain} field :
and i have in my database these two fields {node} and {domain_access} :
and i want display in view page:
node : Title
node : Domain (sitename_ar)
i have created a view and i added a Title field and a Global:php field to call rows from database :
and i addedd those lines :
but always it display the same field (the first row) :
How i can Join all those 3 fields and display for each node her domain (with sitename_ar)