SistemInformasiPHP.net

Kumpulan Sistem Informasi PHP, Tips & Trik HTML, CSS3, Javascript, HTML5, MYSQL, dan Informasi Programming Lainnya

How To Make Input Data Below Table In PHP

0 komentar

Sometimes whe want to make an input data below of table. It usually used for making a library information system. Many programmers also make it information selling systems and connect their system with the barcode scanner. When barcode scanner run, the data will input to database and table redirect to a new data and "input form" just stay below.

Just copy this source code :

<style>
DIV.table 
{
    display:table;
}
FORM.tr, DIV.tr
{
    display:table-row;
}
SPAN.td
{
    display:table-cell;
}
</style>
...
<div class="table">
    <form class="tr" method="post" action="blah.html">
        <span class="td"><input type="text"/></span>
        <span class="td"><input type="text"/></span>
    </form>
    <div class="tr">
        <span class="td">(cell data)</span>
        <span class="td">(cell data)</span>
    </div>
    ...
</div>

* Note : You can combine that source code with your php script.
Share this article :

Posting Komentar

Dilarang berkomentar dengan menggunakan kata-kata kotor, tidak senonoh, & mengandung unsur pornografi. Komentar yang tidak mematuhi etika akan diblok & dihapus. Terimakasih

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Sistem Informasi PHP | Koleksi Source Code | Tutorial PHP - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger