PHP - Populate data or data row

0 votes
169 views
added Sep 24, 2019 in PHP by lcjr First Warrant Officer (9,190 points)
//Show data or row
<?php if(!empty($profile->field_is_miid_registered->value())): ?> 
<?php if(!empty($data['field_is_miid_registered'])): ?> 
<?php if(!empty($row['field_is_miid_registered'])): ?>

 

1 Response

0 votes
responded Sep 24, 2019 by lcjr First Warrant Officer (9,190 points)
<a href="https://www.facebook.com/sharer/sharer.php?u=<?php print $social_link . url('node/'.$row['nid']) ?>&amp;text=<?php print $row['title']?>" onclick="window.open(this.href, 'sharer-popup-facebook', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,left=383,top=34,width=600,height=600'); return false;">
  <li class="facebook">
    <i class="fa fa-facebook" aria-hidden="true"></i>
  </li>
</a>
 
<?php print url('node/'.$row['nid']) . ' - ' . $row['title'] ?>
 
<img src="<?php echo $externalString . $row['client_logo'] ?>">

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...