I am trying echo value in input field if update is set, something like this in code belove.
<input type="text" class="form-control" name="InputTitle" id="InputTitle" placeholder="Enter title" <?php if (isset($_GET['update'])) { echo 'value="<?php echo $list['naslov'] ?>"' } ?> required>
I get some error but i can't figure it out? Is there some better way to do this?