6/1/2019
Posted by 
Program Stock Barang Php Mysql 9,3/10 7075 votes
Program stock barang gratis

I have a problem creating a button on the fly within its function. I've created a table perfectly in php but I don't know how to create a button inside php code using a function on each button.

Download Free Source Code Gratis System Aplikasi Penjualan Stok Barang berbasis WEB PHP Mysql. Berbasis web php & Mysql. Untuk program penjulan. Stock barang. Aplikasi ini di buat mengguankan PHP dan Mysql sebagai databasenya. 247 Sistem informasi penjualan dan persediaan produksi barang berbasis client.

Download Program Stock Barang dengan PHP. Seperti artikel sebelumnya adalah sistem penjualan buku berbasis web php dan mysql., simak ulasannya berikut ini.

The button add is dynamically using looping inside the html table. and when I process a click on the button, then the id, name, and price item will be changed with the textbox and each textbox has an auto value using the old one, and button 1 will be added one button left button 1, or button 2, or button 3.

This is the code. When the button created I the other td will be changing into textbox with its value and after user finished edit user can also save it within the save button beside the add button but the save button will be appeared when user click on edit button like the image above :

user1088172

2 Answers

Stock

just add like a normal button in the last td

and for action do with some jquery function

Program Stock Barang Gratis

oh... may be you can do with this

EDITED

Stock

changes this <td><button name='button'>Edit</button></td>

to

<td><button name='button' style='display:none'>Edit</button><button name='..$data['kode_barang'].'>Edit2</button></td>

and on the javascript just add modify just like this

Khairu AqsaraKhairu Aqsara

Here is an example of creating a button on the fly with javascript.

Program Stok Barang Php Mysql Gratis

I'm a little confused about what you're question is asking but maybe this will help a little. You could set your javascript function to then redirect to a php file on your server.

Program Stock Barang

jcmitchjcmitch
Download Buku Yasin Dan Tahlil Photoshop