Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <?php
- include "config.php";
- $data = $_POST['data'];
- $andamento = $_POST['andamento'];
- $documento = $_FILES['documento']['name'];
- $id_processo = $_GET['id_processo'];
- move_uploaded_file( $_FILES['documento']['tmp_name'], 'uploads/'.$_FILES['documento']['name'] );
- $sql = mysql_query("INSERT INTO movimentacoes (id_processo, data, andamento, documento) value ('$id_processo','$data','$andamento','$documento')");
- header('Location: index2.php?pg=result&id='.$id_processo.'');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement