Tips, Trick, Mengatasi Masalah Komputer, Membina Website & Programming

PHP Code : Update Record



<?php 
require_once('connect.php');


$updatesql = "UPDATE tablename SET field = 'value' WHERE id = '1";
mysql_query($updatesql,$connect)or die(mysql_error());
?>

0 comments: