database
Today I am presenting the most important social networking feature called ajax upload and resize an image without refreshing the page using jquery and PHP. This tutorial a continuation of my previous post, I just included image re-sizing function for different dimensions. It is very useful for your web project that saves lots of hosting … Read more
how to create Ajax PHP login script, in this post I want to discuss how to create a simple Ajax PHP login with welcome page using MySQL database. This will explain you creating user tables, posting form values and storing and destroying the session values. If you are a PHP beginner take a quick look … Read more
now we will make a simple add, edit ,delete data with jquery, php and mysql
first we create a table called ‘tbl_barang’
CREATE TABLE `tbl_barang` ( `kode_barang` varchar(10) collate latin1_general_ci NOT NULL, `nama_barang` varchar(100) collate latin1_general_ci NOT NULL, `harga` double(16,2) NOT NULL, PRIMARY KEY (`kode_barang`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
after that we create a file called ‘koneksi.php’ and put ths code into the file