Link to home
Start Free TrialLog in
Avatar of ST3VO
ST3VOFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Assistance needed with code syntax

Hi all,

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

thx

st3vo

echo '<a href="'.$row["button_link"].'" class="button viewbtn"><span>'.$row["button_text"].'</span></a>';

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you code working fine ... if you can post the complete code
Avatar of ST3VO

ASKER

Works great! Thanks a lot!!! :o)