Started php code

- Prepared value saving
- Added error message display