if ($action == "edit") { ?> <button type="update" name="btn" value="update" class="btn btn-success">Update</button> <?php } } ?> <button type="reset" class="btn btn-warning">Clear</button> </div> </form> <!-- /.col-lg-6 (nested) --> <?php } else { if ($action == "delete") { if ($db->deleteVariables($variables_id) > 0) { echo '<label class="control-label" for="inputSuccess">Women Variables deleted!</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women Variables was not deleted.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } } ?> </div> <!-- /.row (nested) --> </div> <!-- /.panel-body --> </div> <!-- /.panel --> </div> <!-- /.col-lg-12 -->