Suppose that in MySQL I have a row called "favourite\_websites". If there are more then 1, then they are separated by comma ( , ).

> 
> Example user 1 has "favourite\_websites" set as "facebook.com"
> 
> 
> Example user 2 has it set as "facebook.com,google.com"
> 
> 
> Example user 3 has it set as "facebook.com, google.com"
> 
> 
> 

What I need is to loop each user and then get each their website separately as

```
<a href='http://[website]'>[website]</a>

```

If there are more then 1 website in the cell then it should echo smt like this

```
<a href='http://[website]'>[website]</a>
<a href='http://[website]'>[website]</a>

```