<inputtype="text"class="form-control text <?php if (isset($postTitle)) {if (empty($postTitle)) {echo 'error';}} ?>"id="pTitle"name="title"value="<?php if (isset($postTitle)) {echo $postTitle;} ?>"/>
<inputtype="text"class="form-control text <?php if (isset($postTitle)) {if (empty($postTitle)) {echo 'error';}} ?>"id="pTitle"name="title"value="<?php if (isset($postTitle)) {echo $postTitle;} ?>"/>