I’m trying to echo regular text along with arrays. I’m basing the below code off of the answer found here, but it’s not working: Echo arrays with regular text
<?php
$val1 = Yes;
if (($row->relation) == ($val1)) {
echo "<p><b>Applicant\'s Name:</b> {$row['relation_name']} | <b>Business:</b> {$row['relation_business']}</p>";
}
?>
You are doing so many thing wrong here
Example
After you clarify the above you can just use
printfinsteadIf its
array:If its
Object