PHP e MySql: Editar Dados
Fevereiro 9, 2008
< ?php
$sql = "UPDATE `tabela` SET `coluna`='$dado' WHERE `id`='$id'";
$atualiza = mysql_query( $sql ) or print( mysql_error() );
header("Location: pagina.php");
exit;
?>
Entry Filed under: MySql, PHP, Programação Web. Tags: função exit, função header, função mysql_query, PHP.
Trackback this post | Subscribe to the comments via RSS Feed