I want to change the position of the code and it doesn’t work. It doesn’t upload the image when I go to change the position of the code.
<?php if(canUploadChat()){ ?>
<div class=“sub_options”>
<img src=“default_images/icons/upload.svg”/>
<input id=“chat_file” class=“up_input” onchange=“uploadChat();” type=“file”/>
</div>
<?php } ?>
What can I do?