I have added those quotes to it and it did not work... so I have changed quite a bit the code... I am very close to it... just need to know how to retrieve the data from #__hikashop_address..
Here is the code:
$query = "SELECT * FROM #__hikashop_address WHERE address_user_id = ".$element->user_cms_id;
$db->setQuery($query);
$result = $db->loadObjectList();
I will work on it now, but would be great to get some response.
foreach ($result as $r){
echo $r->xyz
}
OR
How can I get the data from the form? like last name, postcode, city, telephone so on?
$element->city ??
Cheers Xavier