PHP echo linking -


how can add link following line?

if ($image) echo $image->resize('w=272&h=170'); 

i have tried adding

if ($image) echo '<a href="'.get_the_permalink().'">'$image->resize('w=272&h=170')'</a>'; 

if ($image) {     echo '<a href="'.get_the_permalink().'">' . $image->resize('w=272&h=170') . '</a>'; } 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -