Untitled

 avatar
Esbjerg82
php
2 years ago
237 B
1
Indexable
<?php
$sizeonimg2  = "<script>document.write($('#img-upload').width());</script>";

if($sizeonimg2 > '700' && $sizeonimg2 < '800') {
   print '70%';
} elseif ($sizeonimg2 > '600' && $sizeonimg2 < '700') {
   print '60%';
}
?>