support with writing little php / javascript script
Budget: $8 – $15 CAD
Happy new year!
I need help with writing little conditional php / javascript script
currently i have this script:
<div class="myDiv">
<div id='databalue2'>
<label for="name" class="label-bb">
<?php if (!empty($image1)) {
echo ' <span><img style="position: relative; width: 220px; height:200px; max-height: 200px; max-width: 220px;"src="' . $image1 .'"> </span><span id="nodisable"></span>';
}else{ ?>
<center><img style="position: relative; width: 220px; height:200px; max-height: 200px; max-width: 220px;" src="baro_files/images/loading-qr.gif"</center>
<?php } ?>
</label>
</div>
</div>
-------------------------------------------------------
I want to add additional code that if input field "reknr" is not 18 and "pasnr" input field is 4 then not show loading-qr.gif
I need help with writing little conditional php / javascript script
currently i have this script:
<div class="myDiv">
<div id='databalue2'>
<label for="name" class="label-bb">
<?php if (!empty($image1)) {
echo ' <span><img style="position: relative; width: 220px; height:200px; max-height: 200px; max-width: 220px;"src="' . $image1 .'"> </span><span id="nodisable"></span>';
}else{ ?>
<center><img style="position: relative; width: 220px; height:200px; max-height: 200px; max-width: 220px;" src="baro_files/images/loading-qr.gif"</center>
<?php } ?>
</label>
</div>
</div>
-------------------------------------------------------
I want to add additional code that if input field "reknr" is not 18 and "pasnr" input field is 4 then not show loading-qr.gif