# Php block conflicting with edit bar

**URL:** https://forums.concretecms.org/t/php-block-conflicting-with-edit-bar/1697
**Category:** Developing with Concrete
**Created:** [November 23, 2021, 9:41pm UTC](https://forums.concretecms.org/t/php-block-conflicting-with-edit-bar/1697 "2021-11-23T21:41:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![finelinecreative](https://forums.concretecms.org/user_avatar/forums.concretecms.org/finelinecreative/32/5178_2.png) [@finelinecreative](https://forums.concretecms.org/u/finelinecreative)
#### Post date: [November 23, 2021, 9:41pm UTC](https://forums.concretecms.org/t/php-block-conflicting-with-edit-bar/1697/1 "2021-11-23T21:41:01Z")

</div>

concrete5.6.4.4

I am trying to create a form that saves fields on page as well as submits.

Using the php block I have added this code to my page.

However, the edit bar at the top disappears when I refresh.

Any ideas?

```
<?php
if(isset($_POST['name'])){
echo $_POST['name'];
}
?>

<form method="POST" action="../mytheme/form.php">
<p>Name</p>
<input type="text" name="name" value="<?php if(isset($_POST['name'])){echo htmlentities($_POST['name']);}?>"
<br>
<input type="submit" value="SEND">
</form>
```

---

<div class="post-metadata">

### Author: ![ConcreteOwl](https://forums.concretecms.org/user_avatar/forums.concretecms.org/concreteowl/32/5237_2.png) [@ConcreteOwl](https://forums.concretecms.org/u/ConcreteOwl)
#### Post date: [November 24, 2021, 9:23am UTC](https://forums.concretecms.org/t/php-block-conflicting-with-edit-bar/1697/2 "2021-11-24T09:23:07Z")

</div>

Check the browser console for errors.
