Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Sistema Feito Pela Empresas Tenorio - Todos os Direitos Reservados
- www.empresastenorio.com
- By: Lucas Tenorio
- */
- include("seguranca.php"); // Inclui o arquivo com o sistema de segurança
- protegePagina(); // Chama a função que protege a página
- include 'conectar.php';
- $id = $_POST['id'];
- $caption = $_POST['caption'];
- $page_strings_1 = $_POST['page_strings_1'];
- $page_strings_2 = $_POST['page_strings_2'];
- $sqlinsert = "Update catalog_pages SET caption='$caption', page_strings_1='$page_strings_1', page_strings_2='$page_strings_2' where id=$id";
- mysql_query($sqlinsert) or die(mysql_error());
- mysql_query($sqlinsert) or die(mysql_error());
- ?>
- <script language= "JavaScript">
- location.href="catalogo.php"
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement