This question already has an answer here:
- How to combine two strings together in PHP? 17 answers
I'm trying to use a php variable to add a href value for a link in an echo statement.
Here's a simplified version of the code I want to use. I know that I can't just add the variable into the echo statement, but I can't seem to find an example anywhere that works.
<a href="<?=base_index();?>list-job-order?<?=$param;?>" class="btn btn-success btn-flat"><i class="fa fa-step-backward"></i> Back</a>
</div>