first, create 3 columns.
id, name, then the url.
then output it like this
<a href="https://stackoverflow.com/questions/25077589/$url"><p>$name</p></a>
But I would like to tell you frankly that this question is very basic, this forum may hinder you from learning if you did not challenge yourself. 🙂
2
solved PHP/MySQL text and reference [closed]