Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( isset( $_POST['submit'] ) ) {
- if ( !empty( $_POST['owg'] ) ) {
- $data['owg'] = nl2br( trim( $_POST['owg'] ) );
- file_put_contents( $files['owg'], json_encode( $data, true ) );
- unset( $data );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement