Skip to content
Advertisement

How to insert link within PHP Variable?

I have a PHP file setup as follows:

JavaScript

And am attempting to generate an output of:

JavaScript

where the parentheses text will link to a Gluten-Free menu page. Is it possible to insert an href link within the variable $gluten_free_option?

Advertisement

Answer

Yes

JavaScript
Advertisement