I am having a problem with this code [attached below]:
No errors but the text on the button coming out is:
class="button (which is part of the code) ... instead of "view" which it get's from the table.
Hope you can help
echo '<a href="'.$row["button_link"].'" class="button viewbtn"><span>'.$row["button_text"].'</span></a>';