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

PHP Code : Insert Record


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


$sql = "INSERT INTO tablename(field1, field2field3) VALUES ('value1', '$value2', '$value3')";
mysql_query($sql,$connect)or die(mysql_error());
?>

0 comments:

Blogger templates