lundi 3 septembre 2018

PHP if statement inside HTML to show picture

i want to check if the condition is true then show the apple picture if not do nothing how can i apply it using php

<style>
.containerdiv { float: left; position: relative; } 
.cornerimage { position: absolute; top: 555; right: 555; } 
</style>

<div class="containerdiv" style="width:100%;" >
    <img border="0" src="tree.jpg" style="width:100%;" >

  <img class="cornerimage" border="0" src="apple.jpg" style="width:10%;">

<div>

Aucun commentaire:

Enregistrer un commentaire